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

int main() {
  int N, P;
  cin >> N >> P;
  cout << ((P == N * P) ? "=" : "!=") << "\n";
}