n,m=[ord(i) for i in input().split()];n-=m;print((['<','>'][n>0] if n else'='))
n,m=input().split();print((['=',['<','>'][n>m]][n!=m]))
n, m = [ord(i) for i in input().split()]
n -= m
print((["<", ">"][n > 0] if n else "="))

n, m = input().split()
print((["=", ["<", ">"][n > m]][n != m]))

-n, m = [ord(i) for i in input().split()] -n -= m -print((["<", ">"][n > 0] if n else "=")) +n, m = input().split() +print((["=", ["<", ">"][n > m]][n != m]))