N,D=map(int,input().split()) M,E=map(int,input().split()) X=N*E-M*D print("<=>"[(X>=0)+(X>0)])