P24309 [AtCoder] Good morning
入门
题目描述

Problem Statement

One day, Takahashi got up at exactly B minutes past A o'clock (in 24-hour clock), and Aoki got up at exactly D minutes and 1 second past C o'clock.
If Takahashi got up earlier than Aoki, print Takahashi; otherwise, print Aoki.

Input

Input is given from Standard Input in the following format:
A B C D

Output

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

Constraints

  • $0 \leq A \leq 23$
  • $0 \leq B \leq 59$
  • $0 \leq C \leq 23$
  • $0 \leq D \leq 59$
  • All values in input are integers.

Sample Input 1

7 0 6 30

Sample Output 1

Aoki

Takahashi got up at 7 sharp, and Aoki got up at 30 minutes and 1 second past 6 o'clock.
Aoki was the first to get up, so Aoki should be printed.

Sample Input 2

7 30 7 30

Sample Output 2

Takahashi

Takahashi got up at exactly half past 7, and Aoki got up at 30 minutes and 1 second past 7 o'clock.
Just by one second, Takahashi was the first to get up, so Takahashi should be printed.

Sample Input 3

0 0 23 59

Sample Output 3

Takahashi

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

输入格式

见题面 Input 部分

输出格式

见题面 Output 部分

样例输入
7 0 6 30
样例输出
Aoki