#K79852. Valid Time Checker
Valid Time Checker
Valid Time Checker
In this problem, you are given a string representing a time in 24-hour format. Your task is to determine whether it is a valid time. A valid time must follow the format (HH:MM), where (HH) is the two-digit hour (ranging from 00 to 23) and (MM) is the two-digit minute (ranging from 00 to 59). Note that the colon (:) is required as the separator between the hours and minutes.
inputFormat
The input consists of a single line containing a time string in the format (HH:MM).
outputFormat
Output a single line containing either "True" if the input represents a valid 24-hour time, or "False" if it does not.## sample
13:45
True