import scala.io.{StdIn => in}

object Main extends App {
  val Array(a, b, c, d) = in.readLine.split(" ").map(_.toInt)
  val ans = if((c-a).abs <= d || (b-a).abs <= d && (c-b).abs <= d) "Yes" else "No"
  println(ans)
}