#C3483. Strictly Increasing Timestamps

    ID: 46915 Type: Default 1000ms 256MiB

Strictly Increasing Timestamps

Strictly Increasing Timestamps

You are given a space-delimited string of timestamps in the format HH:MM. Your task is to determine whether these timestamps are in strictly increasing order. In other words, for a sequence of timestamps \( t_1, t_2, \dots, t_n \), the condition \( t_i < t_{i+1} \) must hold for every valid index \( i \) (with \( 1 \le i < n \)). A sequence with one or no timestamp is considered to be strictly increasing.

Note that the comparison should be performed lexicographically, which works correctly because the time format is fixed to 2-digit hours and 2-digit minutes.

inputFormat

The input consists of a single line containing a space-delimited string of timestamps. Each timestamp is in the format HH:MM. An empty string is possible and should be interpreted as containing no timestamps.

outputFormat

Output a single line, either True if the timestamps are in strictly increasing order; otherwise, output False.

## sample
09:00 10:00 11:00
True