"use strict";

function main(arg) {
    arg = arg.split("\n")[0].split(" ").map(n=>parseInt(n));
    const A = arg[0];
    const B = arg[1];
    const X = arg[2];
    
    console.log(A <= X && B >= Math.abs(A-X) ? "YES" : "NO");
}
main(require('fs').readFileSync('/dev/stdin', 'utf8'));