function Main(input){
    var data = input.split(" ");
    for(var i = 0; i < 3; i++){
        data[i] = parseInt(data[i]);
    }
    
    if(data[0] + data[1] < data[2] || data[0] > data[2]){
        console.log("NO");
        return;
    }
    
    console.log("YES");
}

Main(require("fs").readFileSync("/dev/stdin", "utf8"));
