i=list(map(int,input().split())) a="TATE"if i[0]>i[1] else "YOKO" print(a)