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