#include <iostream>
#include <algorithm>
#include <math.h>
using namespace std;

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