for(1..<>){
	($A,$B,$C,$D)=glob<>;
	if($A<$B||$D<$B){
		print"No\n";
		next
	}
	for(0,1){
		$m=($A-$C)%$B;
		if($m){
			$z[$_]=$C+$m-$B
		}else{
			$z[$_]=$C
		}
		$A=$z[$_]+$D
	}
	$e=abs($z[1]-$z[0]);
	if($e){
		if($B%$e){
			print$C-($B-1)>=0?"Yes\n":"No\n"
		}else{
			print$C-$B+$e-($C-$z[0])%$e>=0?"Yes\n":"No\n"
		}
	}else{
		print$z[0]>=0?"Yes\n":"No\n"
	}
}
