x = input().split(" ") t = int(x[0]) y = int(x[1]) if t > y : print("TATE") else: print("YOKO")