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