#include<stdio.h>
#include<string.h>


int main(){

 int healthT,strT,healthA,strA;	
  scanf("%d%d%d%d",&healthT,&strT,&healthA,&strA);
  
  while(healthT>0 && healthA>0){
  	healthA-=strT;
  	healthT-=strA;
  }
  printf("%d %d\n",healthT,healthA);
  if(healthT>healthA)
  	printf("Yes\n");
  else
  	printf("No\n");	
  
 return 0;
}

