function Main(input) {
	input = input.trim();
	//input = input.trim().split(" ");
	//input = input.trim().split("\n");
	input = input.trim().split(" ").map((a)=>Number(a));
	//input = input.trim().split("\n").map((a)=>Number(a));
  	if(input[0] + input[1] >= input[3]){
       console.log("Yes");
       }else{
        console.log("No"); 
       }
}

Main(require("fs").readFileSync("/dev/stdin", "utf8"));
