# -*- coding: utf-8 -*- n, p = map(int, input().split()) if n == 1 or p == 0: print('=') else: print('!=')