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