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