a, b = gets.chomp.split.map(&:to_i) puts a > b ? 'TATE' : 'YOKO'