import numpy as np

ans = ["<", "=", ">"]

m = np.full((6, 6), 1, np.int64)

m[np.tri(6) == 0] = 0

m[np.tri(6).T == 0] = 2

X, Y = [ord(x) - 65 for x in input().split()]

print((ans[m[X][Y]]))

ans = ["<", "=", ">"]

X, Y = [ord(x) - 65 for x in input().split()]

print((ans[1 - (X < Y) + (X > Y)]))

import numpy as np

ans = ["<", "=", ">"]
m = np.full((6, 6), 1, np.int64)
m[np.tri(6) == 0] = 0
m[np.tri(6).T == 0] = 2
X, Y = [ord(x) - 65 for x in input().split()]
print((ans[m[X][Y]]))

ans = ["<", "=", ">"]
X, Y = [ord(x) - 65 for x in input().split()]
print((ans[1 - (X < Y) + (X > Y)]))

-import numpy as np - -m = np.full((6, 6), 1, np.int64) -m[np.tri(6) == 0] = 0 -m[np.tri(6).T == 0] = 2 -print((ans[m[X][Y]])) +print((ans[1 - (X < Y) + (X > Y)]))