import sys input=lambda: sys.stdin.readline().rstrip() h,w=map(int,input().split()) if h>w: print("TATE") else: print("YOKO")