#coding: UTF-8 inpt = input() lst = [int(a) for a in inpt.split(" ")] ans = "TATE" if lst[0] > lst[1] else "YOKO" print(ans)