const input = require('fs').readFileSync('/dev/stdin', 'utf8');

const list = input.split(' ');

const a = Number(list[0]);

const b = Number(list[1]);

const x = Number(list[2]);

if (x > a + b) {
  console.log('NO');
} else if (a <= x ) {
  console.log('YES');
} else {
  console.log('NO');
}
