i = input().split() hi = int(i[0]) / int(i[1]) if hi == 0.75: print("YOKO") else: print("TATE")