function Main(input) {
  var input = input.split(" ");
  var A = parseInt(input[0]);
  var B = parseInt(input[1]);
  var X = parseInt(input[2]);
  var result = null;
  var CatDog = A + B;
  if (A <= X && CatDog >= X) {
    result = 'YES';
  } else {
    result = 'NO';
  }
  console.log(result);
}
Main(require("fs").readFileSync("/dev/stdin", "utf8"));