n1,d1,n2,d2=[*map(int,open(0).read().split())] if n1*d2n2*d1: print('>') else: print('=')