atcoder#ABC245A. [ABC245A] Good morning
[ABC245A] Good morning
Score : points
Problem Statement
One day, Takahashi got up at exactly minutes past o'clock (in -hour clock), and Aoki got up at exactly minutes and second past o'clock.
If Takahashi got up earlier than Aoki, print Takahashi
; otherwise, print Aoki
.
Constraints
- All values in input are integers.
Input
Input is given from Standard Input in the following format:
Output
If Takahashi got up earlier than Aoki, print Takahashi
; otherwise, print Aoki
.
7 0 6 30
Aoki
Takahashi got up at sharp, and Aoki got up at minutes and second past o'clock.
Aoki was the first to get up, so Aoki
should be printed.
7 30 7 30
Takahashi
Takahashi got up at exactly half past , and Aoki got up at minutes and second past o'clock.
Just by one second, Takahashi was the first to get up, so Takahashi
should be printed.
0 0 23 59
Takahashi
in a day is one minute before , not one minute past ("").
Thus, Takahashi was the first to get up, so Takahashi
should be printed.