(a, b, c, d) = list(map(int, input().split()))

if abs(a - c) <= d:

    print("Yes")

elif abs(a - b) <= d and abs(b - c) <= d:

    print("Yes")

else:

    print("No")
a, b, c, d = list(map(int, input().split()))



if abs(a-c) <= d or (abs(a-b) <= d and abs(b-c) <= d):

    print("Yes")

else:

    print("No")
(a, b, c, d) = list(map(int, input().split()))
if abs(a - c) <= d:
    print("Yes")
elif abs(a - b) <= d and abs(b - c) <= d:
    print("Yes")
else:
    print("No")

a, b, c, d = list(map(int, input().split()))
if abs(a - c) <= d or (abs(a - b) <= d and abs(b - c) <= d):
    print("Yes")
else:
    print("No")

-(a, b, c, d) = list(map(int, input().split())) -if abs(a - c) <= d: -    print("Yes") -elif abs(a - b) <= d and abs(b - c) <= d: +a, b, c, d = list(map(int, input().split())) +if abs(a - c) <= d or (abs(a - b) <= d and abs(b - c) <= d):