N1,D1=map(int,input().split()) N2,D2=map(int,input().split()) if N1*D2N2*D1:print(">") else:print("=")