#abc249a. [abc249_a]Jogging
[abc249_a]Jogging
Problem Statement
Takahashi and Aoki decided to jog.
Takahashi repeats the following: "walk at meters a second for seconds and take a rest for seconds."
Aoki repeats the following: "walk at meters a second for seconds and take a rest for seconds."
When seconds have passed since they simultaneously started to jog, which of Takahashi and Aoki goes ahead?
Constraints
- All values in input are integers.
Input
Input is given from Standard Input in the following format:
Output
When seconds have passed since they simultaneously started to jog, if Takahashi goes ahead of Aoki, print Takahashi
; if Aoki goes ahead of Takahashi, print Aoki
; if they have advanced the same distance, print Draw
.
Sample Input 1
4 3 3 6 2 5 10
Sample Output 1
Takahashi
During the first seconds after they started to jog, they move as follows.
- Takahashi walks for seconds, takes a rest for seconds, and walks again for seconds. As a result, he advances a total of meters.
- Aoki walks for seconds and takes a rest for seconds. As a result, he advances a total of meters.
Since Takahashi goes ahead, Takahashi
should be printed.
Sample Input 2
3 1 4 1 5 9 2
Sample Output 2
Aoki
Sample Input 3
1 1 1 1 1 1 1
Sample Output 3
Draw