#include using namespace std; int main() { int N, P; cin >> N >> P; cout << (!P || N == 1 ? "=" : "!=") << endl; return 0; }