function main(input) {
  const tmp = input.trim().split(' ').map((n) => parseInt(n, 10))

  if (tmp[0] <= tmp[2] && tmp[2] <= tmp[0] + tmp[1]) {
    console.log('YES')
  } else {
    console.log('NO')
  }
}
main(require('fs').readFileSync('/dev/stdin', 'utf8'))