
import std.algorithm.iteration;
import std.conv;
import std.math;
import std.stdio;
import std.string;

void main()
{
	auto abcd = readln.split.map!( to!int );
	auto ac = ( abcd[ 0 ] - abcd[ 2 ] ).abs;
	auto ab = ( abcd[ 0 ] - abcd[ 1 ] ).abs;
	auto bc = ( abcd[ 1 ] - abcd[ 2 ] ).abs;
	
	if( ac <= abcd[ 3 ] || ( ab <= abcd[ 3 ] && bc <= abcd[ 3 ] ) )
	{
		writeln( "Yes" );
	}
	else
	{
		writeln( "No" );
	}
}
