function Main(input){
  input=input.trim().split(/\s+/).map(x=>x-0);
  var yes=(input[0]<=input[2])&&(input[2]<=(input[0]+input[1]));
  console.log(yes?'YES':'NO');
}

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