#include <bits/stdc++.h>
using namespace std;

int main(){
	ios::sync_with_stdio(false);
	cin.tie(0);  
	int n, p;
	cin >> n >> p;
	if(n == 1 || p == 0) puts("=");
	else puts("!=");
	return 0;	
}