function Main(input) {
    input = input.split(" ");
    a = parseInt(input[0]);
    b = parseInt(input[1]);
    x = parseInt(input[2]);
    possible = true;

    if((x < a) || (a + b < x)){
        possible = false;
    }

    if(possible){
        console.log("YES");
    }
    else{
        console.log("NO");
    }
}

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