use std::io; fn main() { let v = input_strings(); let s = v[0].parse::().unwrap(); let t = v[1].parse::().unwrap(); let result: bool; let c: &str = &v[2]; match c { "<" => result = s < t, ">" => result = s > t, "=" => result = s == t, _ => result = false, } println!("{}", if result { "YES" } else { "NO" }); } fn input_strings() -> Vec { let mut s = String::new(); io::stdin().read_line(&mut s).unwrap(); let mut v = Vec::new(); for n in s.split_whitespace() { v.push(String::from(n)); } v }