(def a (read))
(def b (read))
(def c (read))
(def d (read))

(def solve
  (if (<= (Math/abs(- a c)) d)
    (println "Yes")
    (if (and (<= (Math/abs (- a d))d) (<= (Math/abs (- b c)) d))
      (println "Yes")
      (println "No"))))