n,p = map(int, raw_input().split()) if n == 1 or p == 0: print '=' else: print '!='