open System
 
let (a, b, c, d) = Console.ReadLine().Split() |> (fun x -> int x.[0], int x.[1], int x.[2], int x.[3])
printfn (if abs (a - c) <= d || abs (a - b) <= d && abs (b - c) <= d then "Yes" else "No")
