#include <iostream>

using namespace std;

int main() {
    int n, p;
    cin >> n >> p;
    
    if (n == 1 || p == 0) {
        cout << "=" << endl;
    } else {
        cout << "!=" << endl;
    }
    
    return 0;
}