#include<stdio.h>
 
int main(void){
  int a,b,c,d;
  int x,y;
  scanf("%d",&a);scanf("%d",&b);scanf("%d",&c);scanf("%d",&d);
  do{
    x=c-b;y=a-d;
  }while(x>=0||y>=0);
  if(x<=0){
    puts("Yes");}
  else{
    puts("No");}
  return 0;
}