import std.stdio;
import std.string;
import std.conv;
import std.algorithm;

int abs(int n) {
    return n < 0 ? -n : n;
}

void main() {
    int[] arr = readln.chomp.split.to!(int[]);
    bool flg = false;

    writeln(
        (abs(arr[0] - arr[2]) <= arr[3] || abs(arr[0] - arr[1]) <= arr[3] && abs(arr[1] - arr[2]) <= arr[3]) ? "Yes" : "No"
    );
}