N = int(input()) for _ in range(N): a, b = map(int, input().split()) if a == b: r = chr(61) else: if a in set(range(1, b)): r = chr(60) else: r = chr(62) print(r)