#include <iostream>
#include <fstream>
#include <vector>
#include <string>
#include <algorithm>
//---------------------------
using namespace std;
//---------------------------
#define REP(i,n) for(int i = 0; i < (n); i++)
#define P(x) cout << (x) << "\n"
//---------------------------


int main(){
  std::ios::sync_with_stdio(false);
  std::cin.tie(0);



  int n,p;cin >>n>>p;
  if (p == 0) {
    P("=");
  }else{
    n == 1 ? P("=") : P("!=");
  }
  return 0;
}