n, p = map(int,input()) if n*p == p: msg = '=' else: msg = '!=' print(msg)