#include <bits/stdc++.h>
#define rep(i, ss, ee) for (int i = ss; i < ee; ++i)
using namespace std;

string solve() {
  int N, P;
  cin >> N >> P;
  string ans = "!=";
  if (P == N * P) ans = "=";
  return ans;
}

int main() {
  cin.tie(0);
  ios::sync_with_stdio(false);
  cout << solve() << endl;
  getchar();
}