import java.util.*; class Question337 { public static void main(String[] str) { Scanner scan = new Scanner(System.in); int n = scan.nextInt(); int p = scan.nextInt(); System.out.println(p==(n*p) ? "=" : "!="); } }