H, W = input().split() H, W = int(H), int(W) if H > W: print("TATE") else: print("YOKO")