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