def solve(): line = input().split(' ') tate = int(line[0]) yoko = int(line[1]) if (tate > yoko): print("TATE") else: print("YOKO") solve()