import std.stdio,
       std.conv,
       std.string,
       std.range,
       std.math,
       std.bigint,
       std.algorithm;

void main()
{
    
    auto input = readln.split.to!(int[]);
    auto N = input[0], P = input[1];

    (P == N * P ? "=" : "!=").writeln;
}