local lt = string.char(60) local gt = string.char(62) q = io.read("*n") for iq = 1, q do a, b = io.read("*n", "*n") if a == b then print("=") elseif math.abs(b - a) == b - a then print(lt) else print(gt) end end