let [a, b, c, d] = require("fs").readFileSync("/dev/stdin", "utf8").split(" ").map(Number);
let [f1, f2, f3] = [a - c, a - b, b - c].map(n => Math.abs(n) <= d)
console.log(f1 || f2 && f3 ? "Yes" : "No");