#include <iostream>
#include <algorithm>
#include <vector>
#include <string>
#include <iomanip>
#include <cmath>
#include <functional>
using namespace std;
#define diff(x,y) ((x > y) ? (x - y) : (y - x))
#define us(x) (x > 0) ? x : x * -1

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