def main(): N, P = map(int, input().split()) if (N or P) == 1 or P == 0: print('=') else: print('!=') if __name__ == '__main__': main()