N = gets.to_i puts readlines.map{|s| a, b = s.split.map &:to_i if [a,b].uniq.size == 1 0x3d elsif [a, b].min == a 0x3c else 0x3e end }.map &:chr