#!/usr/bin/env python #coding:utf8 def read(): return map(int, raw_input().split()) def work((A, B)): print '=' if A == 1 or B == 1 else '!=' if __name__ == "__main__": work(read())