n,p=(int(i) for i in input().split())

if n==1 or p==0:
    print('=')
else:
    print('!=')