Maximum online
With the shift to remote learning, School No. 1024 has seen an increase in website traffic. The server has recorded the statistics of website visits for the past day. Your task is to identify the time period during which the maximum number of users were online.
Input Data
The first line provides the number of website visits m (0 ≤ m ≤ 10000). Each of the following m lines contains the start and end times of a user's visit in the format H1 M1 H2 M2, where H1, M1 represent the start time in hours and minutes, and H2, M2 represent the end time in hours and minutes.
Output Data
On the first line, print the maximum number of users who were online at the same time. On the second line, print the corresponding time interval in the format: H3 M3 H4 M4, where H3, M3 are the start time in hours and minutes, and H4, M4 are the end time in hours and minutes. If there are multiple intervals with the same maximum number of users, choose the one that starts earliest.