#include <iostream>

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