# input S = input().split() h = int(S[0]) w = int(S[1]) if h > w: print('TATE') else: print('YOKO')