use std::io;


fn main() {

    let mut line = String::new();
    let _ = io::stdin().read_line(&mut line);
    let split: Vec<&str> = line.split_whitespace().collect();

    let a: i64 = split[0].parse().unwrap();
    let b: i64 = split[1].parse().unwrap();
    let c: i64 = split[2].parse().unwrap();
    let r = byomocha(a,b,c);
    println!("{}",r);

}

fn byomocha(a: i64 ,b: i64,c: i64) -> String {
    if c <= (a+b) {
        return "YES".to_string();
    } else {
        return "NO".to_string();
    }
}