h,w=map(int,input().split()) print(["TATE","YOKO"][h