{"raw_statement":[{"iden":"problem statement","content":"Takahashi and Aoki decided to jog.  \nTakahashi repeats the following: \"walk at $B$ meters a second for $A$ seconds and take a rest for $C$ seconds.\"  \nAoki repeats the following: \"walk at $E$ meters a second for $D$ seconds and take a rest for $F$ seconds.\"  \nWhen $X$ seconds have passed since they simultaneously started to jog, which of Takahashi and Aoki goes ahead?"},{"iden":"constraints","content":"*   $1 \\leq A, B, C, D, E, F, X \\leq 100$\n*   All values in input are integers."},{"iden":"input","content":"Input is given from Standard Input in the following format:\n\n$A$ $B$ $C$ $D$ $E$ $F$ $X$"},{"iden":"sample input 1","content":"4 3 3 6 2 5 10"},{"iden":"sample output 1","content":"Takahashi\n\nDuring the first $10$ seconds after they started to jog, they move as follows.\n\n*   Takahashi walks for $4$ seconds, takes a rest for $3$ seconds, and walks again for $3$ seconds. As a result, he advances a total of $(4 + 3) \\times 3 = 21$ meters.\n*   Aoki walks for $6$ seconds and takes a rest for $4$ seconds. As a result, he advances a total of $6 \\times 2 = 12$ meters.\n\nSince Takahashi goes ahead, `Takahashi` should be printed."},{"iden":"sample input 2","content":"3 1 4 1 5 9 2"},{"iden":"sample output 2","content":"Aoki"},{"iden":"sample input 3","content":"1 1 1 1 1 1 1"},{"iden":"sample output 3","content":"Draw"}],"translated_statement":null,"sample_group":[],"show_order":["default"],"formal_statement":null,"simple_statement":null,"has_page_source":true}