#include <iostream>
#include <list>
#include <vector>
#include <string>
#include <stdio.h>
#include <stdint.h>
using namespace std;

using uint = unsigned int;
using ll = long long;

#define CIN( LL , A ) LL A; cin >> A 
#define GETLINE( A ) string A; getline( cin , A ) 


int main()
{

  CIN( ll , N );
  CIN( ll , P );
  const string answer = ( P == N * P ? "=" : "!=" );
  cout << answer << endl;
  return 0;

}