def main(): n, p = [int(i) for i in input().split(" ")] if n == 1 or p == 0: print("=") else: print("!=") if __name__ == "__main__": main()