a,b=map(int,input().split()) c,d=map(int,input().split()) if a*d==b*c: print('=') exit() z=(a*d-b*c)*(b*d) if z>0: print('>') else: print('<')