import java.util.*; public class Main { private static Scanner sc = new Scanner(System.in); public static void main(String[] args) throws Exception { int n = sc.nextInt(); int p = sc.nextInt(); if (n == 1 || p == 0) { System.out.println("="); } else { System.out.println("!="); } } }