#import <Foundation/Foundation.h>
#import <stdio.h>
int main(){
  int a,b,c;
  scanf("%d %d %d",&a,&b,&c);
  printf((ABS(a-c)<=d) || (MAX(ABS(a-b),ABS(b-c))<=d) ? "Yes":"No");
  return 0;
}
#import <Foundation/Foundation.h>
#import <stdio.h>
int main(){
  int a,b,c,d;
  scanf("%d %d %d %d",&a,&b,&c,&d);
  printf((ABS(a-c)<=d) || (MAX(ABS(a-b),ABS(b-c))<=d) ? "Yes":"No");
  return 0;
}
