n = gets.to_i n.times.map do a = gets.split.map &:to_i if a.uniq.size == 1 putc 61 elsif a[0] == a.sort[0] putc 60 else putc 62 end puts "\n" end