object Main {
  def main(args: Array[String]): Unit = {
    val Array(n, p) = readLine.split(' ').map(_.toInt)
    print {
      if (p == n * p) "="
      else "!="
    }
  }
}