# -*- coding: utf-8 -*- N, P = map(int, input().split()) left = P right = N*P if left == right: print('=') else: print('!=')