h,w=map(int,input().split()) print("YOKO" if w > h else "TATE")