fn read_line() -> String { let mut s = String::new(); std::io::stdin().read_line(&mut s).unwrap(); s.trim().to_owned() } fn reads() -> Vec where T: std::str::FromStr, ::Err: std::fmt::Debug, { read_line() .split_whitespace() .map(|w| w.parse().unwrap()) .collect() } fn main() { let (n, m, x) = { let t: Vec = reads(); (t[0], t[1], t[2]) }; println!("{}", if m + x - n >= 3 { "YES" } else { "NO" }); }