defmodule Main do def main do n = ii() f(n) end def f(n) do if n != 0 do [a, b] = li() if a == b do IO.puts("=") else if max(a, b) == a do IO.puts [62] else IO.puts [60] end end f(n-1) end end def input, do: String.trim(IO.read(:line)) def ii, do: String.to_integer(input()) def li, do: Enum.map(String.split(input()), &String.to_integer/1) end