A, B, C, D = map(int, input().split())
if A * 3600 + B * 60 < C * 3600 + D * 60 + 1:
    print('Takahashi')
else:
    print('Aoki')

4e73160108d5560f81745e77140be2ec4ecbb119
<mask token>

<mask token>
if A * 3600 + B * 60 < C * 3600 + D * 60 + 1:
    print('Takahashi')
else:
    print('Aoki')

A, B, C, D = map(int, input().split())
if A * 3600 + B * 60 < C * 3600 + D * 60 + 1:
    print('Takahashi')
else:
    print('Aoki')
