N1,D1 = map(int,input().split()) N2,D2 = map(int,input().split()) if N1*D2 == N2*D1: print("=") elif N1*D2 > N2*D1: print(">") else: print("<")