function main(){
  var [a, b, x] = input[0].split(' ');
  a = parseInt(a);
  b = parseInt(b);
  x = parseInt(x);
  console.log(a <= x && (a + b) >= x ? 'YES' : 'NO');
}

var
input = '';

process.stdin.resume();
process.stdin.setEncoding('utf8');
process.stdin.on('data', function(chunk) {
  input += chunk;
});
process.stdin.on('end', function() {
  input = input.split('\n');
  main();
});
