x, y = list(map(str, input().split()))

if x < y:

    print("<")

elif x > y:

    print(">")

else:

    print("=")

x, y = input().split()

if x < y:

    print("<")

elif x > y:

    print(">")

else:

    print("=")

x, y = list(map(str, input().split()))
if x < y:
    print("<")
elif x > y:
    print(">")
else:
    print("=")

x, y = input().split()
if x < y:
    print("<")
elif x > y:
    print(">")
else:
    print("=")

-x, y = list(map(str, input().split())) +x, y = input().split()