#include #define rep(i,n) for(int (i)=0;(i)<(n);(i)++) typedef long long ll; using namespace std; int main(){ ios::sync_with_stdio(0); cin.tie(0); int n,p; cin >> n >> p; if(p==n*p){ cout << "=" << endl; }else if(p!=n*p){ cout << "!=" << endl; } return 0; }