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