H, W = map(int, input().split()) if H - W < 0: print("YOKO") else: print("TATE")