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('<')