use proconio::{fastout, input}; #[fastout] fn main() { input! { s: u8, t: u8, c: char, } println!("{}", output(solve(s, t, c))) } fn solve(s: u8, t: u8, c: char) -> bool { match c { '<' => s < t, '>' => s > t, '=' => s == t, _ => unreachable!(), } } fn output(ans: bool) -> &'static str { match ans { true => "YES", false => "NO", } }