'use strict'

function main(s) {

  s = s.split('\n')[0].split(' ').map(x => Number(x));
  const a = s[0];
  const b = s[1];
  const x = s[2];

  const ans = (a <= x && x <= (a + b)) ? 'YES' : 'NO';
  console.log(ans);
}

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