def main(): h, w = map(int, input().split()) print("TATE" if h > w else "YOKO") if __name__ == '__main__': main()