function Main(input)
{
  input = input.split(' ');
  var a = parseInt(input[0]);
  var b = parseInt(input[1]);
  var x = parseInt(input[2]);
  
  if (a <= x && x <= a+b) console.log("YES");
  else console.log("NO");
}

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