#include <iostream>

void solve() {
    int n, p;
    std::cin >> n >> p;
    std::cout << (p == n * p ? "=" : "!=")
              << std::endl;
}

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

    solve();

    return 0;
}