H, W = [int(i) for i in input().split(' ')] print('TATE' if H > W else 'YOKO')