#include <bits/stdc++.h>

using namespace std;

int main() {
  ios::sync_with_stdio(false);
  cin.tie(0);
  int N, P;
  cin >> N >> P;
  if (P == N * P) {
    cout << "=" << '\n';
  } else {
    cout << "!=" << '\n';
  }
  return 0;
}