H, W = int(input()) if H > W: print('TATE') else: print('YOKO')