#abc245a. A - Good morning

A - Good morning

Score : 100100 points

问题描述

一天,高桥在AA点过BB分钟后准确地起床(按照24小时制计算),而青木在CC点过DD分1秒后准确地起床。

如果高桥比青木起床早,则输出Takahashi;否则,输出Aoki

以上为通义千问 qwen-max 翻译,仅供参考。

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.

Sample Input 1

7 0 6 30

Sample Output 1

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.

Sample Input 2

7 30 7 30

Sample Output 2

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.

Sample Input 3

0 0 23 59

Sample Output 3

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.

update @ 2024/3/10 10:30:56