P23726 [AtCoder] [ABC030A] Winning Percentage Calculation
入门
题目描述

Problem Description

The baseball season of the AtCoder League has ended. Team Takahashi won $ B $ out of $ A $ games, and Team Aoki won $ D $ out of $ C $ games. In the AtCoder League, higher rankings are given to teams with higher winning percentages. Create a program that determines which team, Team Takahashi or Team Aoki, has a higher winning percentage.

Input Format

The input is given from the standard input in the following format:

$ A $ $ B $ $ C $ $ D $

  • The first line contains four integers $A,\ B,\ C,\ D\ (1\ ≦\ A,\ B,\ C,\ D\ ≦\ 100)$.
  • It is guaranteed that $B\ ≦\ A$ and $D\ ≦\ C$.

Output Format

Output TAKAHASHI if Team Takahashi has a higher winning percentage, AOKI if Team Aoki has a higher winning percentage, and DRAW if both teams have the same winning percentage. Ensure a newline at the end of the output.

Sample Input and Output

Sample Input #1

5 2 6 3

Sample Output #1

AOKI

Sample Input #2

100 80 100 73

Sample Output #2

TAKAHASHI

Sample Input #3

66 30 55 25

Sample Output #3

DRAW

Notes/Hints

Sample Explanation 1

Team Takahashi's winning percentage is $2\ /\ 5\ =\ 0.4$, and Team Aoki's winning percentage is $3\ /\ 6\ =\ 0.5$, so Team Aoki has a higher winning percentage. Also, the number of games can differ between the two teams.

Sample Explanation 2

When the number of games is the same, the team with more wins has a higher winning percentage.

输入格式

见题面 Input 部分

输出格式

见题面 Output 部分

样例输入
5 2 6 3
样例输出
AOKI