class Problem0427: def solve(this): h,w = map(int, input().split()) if h > w: print("TATE") else: print("YOKO") if __name__ == "__main__": problem = Problem0427() problem.solve()