#include <stdio.h>

int main(void) {
	int n, p;
	scanf("%d%d", &n, &p);
	printf("%s=\n", (p == n * p ? "" : "!"));
	return 0;
}