int a = int(input())
int b = int(input())
if a>b:
print(a + ">" + b)
if a<b:
print(b + ">" + a)
else:
print(a + "=" + b)
int a = int(input())
int b = int(input())
if a>b:
print(a + ">" + b)
if a<b:
print(b + ">" + a)
else:
print(a + "=" + b)