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

int main() {
  int n, p;
  cin >> n >> p;
  cout << (p == n * p ? "=" : "!=") << endl;
  return 0;
}