local ab = math.abs
local a, b = io.read("*n", "*n")
local c, d = io.read("*n", "*n")
if ab(a - c) <= d then
  print("Yes")
elseif ab(a - b) <= d and ab(b - c) <= d then
  print("Yes")
else
  print("No")
end
