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