A,B = map(int,input().split()) C,D = map(int,input().split()) if(A * D > C * B): print(">") elif A * D == C * B: print("=") else: print("<")