function Main(input) {
	input = input.trim();
	//input = input.trim().split("");
	//input = input.trim().split("\n");
	input = input.trim().split(" ").map((a)=>Number(a));
	//input = input.trim().split("\n").map((a)=>Number(a));
  	var A = input[0];
  var B = input[1];
  var X = input[2];
  if(A > X || A + B < X){
     console.log("NO");
     }else{
     console.log("YES");
     }
}

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