#include<stdio.h>
int main(){
  int a,b,c,d;
  scanf("%d",&a);
  scanf("%d",&b);
    scanf("%d",&c);
    scanf("%d",&d);
  if(a - b < c - d){
    printf("Yes");
  }else{
    printf("No");
  }
  return 0;
}