def readints(): return list(map(int, input().split())) def main(): h, w = readints() if h > w: print("TATE") else: print("YOKO") main()