t,y = (int(x) for x in input().split()) if t>y: print("TATE") else: print("YOKO")