fn read_line() -> String { let mut s = String::new(); std::io::stdin().read_line(&mut s).unwrap(); s.trim().to_owned() } fn main() { let n = read_line().parse().unwrap(); for _ in 0..n { let line = read_line(); let a: i32 = line.split_whitespace().nth(0).unwrap().parse().unwrap(); let b: i32 = line.split_whitespace().nth(1).unwrap().parse().unwrap(); use std::cmp::Ordering; println!( "{}", match a.cmp(&b) { Ordering::Equal => '=', Ordering::Greater => 62u8 as char, Ordering::Less => 60u8 as char, } ); } }