use std::io::*; use std::str::FromStr; use std::cmp::{min, max}; fn read() -> T { let stdin = stdin(); let stdin_lock = stdin.lock(); let s = stdin_lock .bytes() .map(|c| c.unwrap() as char) .skip_while(|c| c.is_whitespace()) .take_while(|c| !c.is_whitespace()) .collect::(); s.parse::().ok().unwrap() } fn main() { let N = read::(); let M = read::(); let X = read::(); if 3 <= X - (N - M) { println!("YES"); } else { println!("NO"); } }