input_params = list(map(int,input().split())) n = input_params[0] p = input_params[1] if n == 1 or p == 0: print('=') else: print('!=')