import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; public class Main { public static void main(String[] args) { BufferedReader stdReader =new BufferedReader(new InputStreamReader(System.in)); try { String[] line = stdReader.readLine().split(" "); if(line[0].equals("1") || line[1].equals("0")){ System.out.println("="); }else{ System.out.println("!="); } } catch (IOException e) { e.printStackTrace(); } } }