open Printf
open Scanf

let solve a b c d =
  let ab, bc, ca = abs (a - b), abs (b - c), abs (c - a) in
  if d >= ca || d >= ab && d >= bc then "Yes" else "No"

let () =
  scanf "%d %d %d %d " solve |> printf "%s\n"
