#include <bits/stdc++.h>
using namespace std;
typedef unsigned long long ul;
typedef signed long long ll;

int main(void)
{
  cin.tie(0);
  ios::sync_with_stdio(false);
  cout << fixed;
  int n, p;
  cin >> n >> p;
  cout << (p == n * p ? "=" : "!=") << endl;
  return 0;
}