atcoder#ABC245A. [ABC245A] Good morning

[ABC245A] Good morning

Score : 100100 points

Problem Statement

One day, Takahashi got up at exactly BB minutes past AA o'clock (in 2424-hour clock), and Aoki got up at exactly DD minutes and 11 second past CC o'clock. If Takahashi got up earlier than Aoki, print Takahashi; otherwise, print Aoki.

Constraints

  • 0A230 \leq A \leq 23
  • 0B590 \leq B \leq 59
  • 0C230 \leq C \leq 23
  • 0D590 \leq D \leq 59
  • All values in input are integers.

Input

Input is given from Standard Input in the following format:

AA BB CC DD

Output

If Takahashi got up earlier than Aoki, print Takahashi; otherwise, print Aoki.

7 0 6 30
Aoki

Takahashi got up at 77 sharp, and Aoki got up at 3030 minutes and 11 second past 66 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 77, and Aoki got up at 3030 minutes and 11 second past 77 o'clock. Just by one second, Takahashi was the first to get up, so Takahashi should be printed.

0 0 23 59
Takahashi

0:000:00 in a day is one minute before 0:010:01, not one minute past 23:5923:59 ("24:0024:00"). Thus, Takahashi was the first to get up, so Takahashi should be printed.