a, b = map(int, input().split()) c, d = map(int, input().split()) x = a * d y = b * c if x < y: print('<') elif x == y: print('=') else: print('>')