H,W = (int(i) for i in (input().split())) if H > W: print("TATE") else: print("YOKO")