#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;
  
  while(i < 100){
     sum1 = sum1 - d;
     sum2 = sum2 - b;
    
       if(sum2 == 0){ 
         printf("Yes");
         
         break;
       }
       
      if(sum1 == 0){
        printf("No");
        
        break;
      }
  }
  
  return 0;
}
  
    
