function main(input) {
    var arr = input.split(' ');
    var cat = arr[0];
    var mixed = arr[1];
    var catNum = arr[2];
    var fulfillsCond = cat <= catNum && cat + mixed >= catNum;
    console.log(fulfillsCond ? 'YES' : 'NO');
}
main(require('fs').readFileSync('/dev/stdin', 'utf8'));