fn main() { let read_line = || { let mut s = String::new(); std::io::stdin().read_line(&mut s).unwrap(); s.trim().to_owned() }; 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::*; let ord = a.cmp(&b); println!( "{}", if ord == Equal { '=' } else if ord == Greater { 62u8 as char } else { 60u8 as char } ); } }