#include using namespace std; int main(){ int n,p; cin >> n >> p; if(n == 1 || p == 1) cout << "=" << endl; else cout << "!=" << endl; return 0; }