#include <bits/stdc++.h>
using namespace std;
typedef int64_t lint;

int main()
{
    lint n,p;cin>>n>>p;
    if(n==1||p==0){
        cout<<"="<<endl;
    }
    else{
        cout<<"!="<<endl;
    }
    // system("pause");
}