#ABC249A. [ABC249A] Jogging

[ABC249A] Jogging

Score : 100100 points

Problem Statement

Takahashi and Aoki decided to jog. Takahashi repeats the following: "walk at BB meters a second for AA seconds and take a rest for CC seconds." Aoki repeats the following: "walk at EE meters a second for DD seconds and take a rest for FF seconds." When XX seconds have passed since they simultaneously started to jog, which of Takahashi and Aoki goes ahead?

Constraints

  • 1A,B,C,D,E,F,X1001 \leq A, B, C, D, E, F, X \leq 100
  • All values in input are integers.

Input

Input is given from Standard Input in the following format:

AA BB CC DD EE FF XX

Output

When XX 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.

4 3 3 6 2 5 10
Takahashi

During the first 1010 seconds after they started to jog, they move as follows.

  • Takahashi walks for 44 seconds, takes a rest for 33 seconds, and walks again for 33 seconds. As a result, he advances a total of (4+3)×3=21(4 + 3) \times 3 = 21 meters.
  • Aoki walks for 66 seconds and takes a rest for 44 seconds. As a result, he advances a total of 6×2=126 \times 2 = 12 meters.

Since Takahashi goes ahead, Takahashi should be printed.

3 1 4 1 5 9 2
Aoki
1 1 1 1 1 1 1
Draw