use std::io::*; use std::str::FromStr; use std::cmp::{min, max}; fn main() { let mut str = String::new(); stdin().read_line(&mut str).unwrap(); let n: i32 = str.trim().parse().ok().unwrap(); for _ in 0..n { str = stdin() .bytes() .map(|c| c.unwrap() as char) .skip_while(|c| c.is_whitespace()) .take_while(|c| !c.is_whitespace()) .collect(); let a: i32 = str.parse().ok().unwrap(); str = stdin() .bytes() .map(|c| c.unwrap() as char) .skip_while(|c| c.is_whitespace()) .take_while(|c| !c.is_whitespace()) .collect(); let b: i32 = str.parse().ok().unwrap(); if a.lt(&b) { println!("{}", 60 as char) } else if a.eq(&b) { println!("{}", 61 as char) } else { println!("{}", 62 as char) } } }