#include <bits/stdc++.h>
using namespace std;
int n, p;
int main() {
	cin >> n >> p;
	cout << (p == n * p ? "=" : "!=") << endl;
	return 0;
}