function main(input) {
    var list = input[0].split(" ").map(v=>v-0);
    var a = list[0], b=list[1], x=list[2];
    var ans = true;
    if(a+b<x) ans = false;
    if(a>x) ans = false;
    console.log(ans?"YES":"NO");
}
main(require('fs').readFileSync('/dev/stdin', 'utf8').trim().split("\n"))
