function main (input) {
	var x=input.split(" ");
	for(var i=0;i<x.length;i++)x[i]=parseInt(x[i]);
if(x[2]>=x[0]&&x[2]<=x[0]+x[1])console.log("YES\n");
else console.log("NO\n");
}
 
main(require('fs').readFileSync('/dev/stdin', 'utf8'));