function main(input) {
  input = input.trim();
  const a = input.split(" ").map(Number);
  const gou = a[0]+a[1];
  if(a[2]>=a[0]&&gou>=a[2]){
    console.log("YES");
  }else{
    console.log("NO");
  }
}
main(require('fs').readFileSync('/dev/stdin', 'utf8'));