import sys

input = sys.stdin.readline


def main():
    a, b, c, d = map(int, input().split())
    T = b / a
    A = d / c
    if T == A:
        print("DRAW")
    elif T > A:
        print("TAKAHASHI")
    else:
        print("AOKI")


if __name__ == "__main__":
    main()

59c879e7c1988c6008f3cdc7d7119c44f782d9bb
<mask token>


def main():
    a, b, c, d = map(int, input().split())
    T = b / a
    A = d / c
    if T == A:
        print('DRAW')
    elif T > A:
        print('TAKAHASHI')
    else:
        print('AOKI')


<mask token>

<mask token>


def main():
    a, b, c, d = map(int, input().split())
    T = b / a
    A = d / c
    if T == A:
        print('DRAW')
    elif T > A:
        print('TAKAHASHI')
    else:
        print('AOKI')


if __name__ == '__main__':
    main()

<mask token>
input = sys.stdin.readline


def main():
    a, b, c, d = map(int, input().split())
    T = b / a
    A = d / c
    if T == A:
        print('DRAW')
    elif T > A:
        print('TAKAHASHI')
    else:
        print('AOKI')


if __name__ == '__main__':
    main()

import sys
input = sys.stdin.readline


def main():
    a, b, c, d = map(int, input().split())
    T = b / a
    A = d / c
    if T == A:
        print('DRAW')
    elif T > A:
        print('TAKAHASHI')
    else:
        print('AOKI')


if __name__ == '__main__':
    main()

import sys

input = sys.stdin.readline


def main():
    a, b, c, d = map(int, input().split())
    T = b / a
    A = d / c
    if T == A:
        print("DRAW")
    elif T > A:
        print("TAKAHASHI")
    else:
        print("AOKI")


if __name__ == "__main__":
    main()
