u,d=map(int,input().split()) uu,dd=map(int,input().split()) #u/d>=uu/dd if(u*dd==uu*d): print("=") elif(u*dd>uu*d): print(">") else: print("<")