use std::io::{self, BufRead}; fn main() { io::stdin().lock().lines().for_each(|l| { let l = l.unwrap(); let mut l = l.split_whitespace(); let n = l.next().unwrap().parse::().unwrap(); let p = l.next().unwrap().parse::().unwrap(); if n == 1 || p == 0 { println!("="); } else { println!("!="); } }); }