t, y = map(int, input().split()) if t > y: print("TATE") else: print("YOKO")