#include <iostream>                                                                                                                                                                                           
using namespace std;                                                                                                                                                                                          
                                                                                                                                                                                                              
int main()                                                                                                                                                                                                    
{                                                                                                                                                                                                             
    int a, b, c, d;                                                                                                                                                                                           
    string ans;                                                                                                                                                                                               
    cin >> a >> b >> c >> d;                                                                                                                                                                                  
                                                                                                                                                                                                              
    while(true){                                                                                                                                                                                              
        c -= b;                                                                                                                                                                                               
        if(c <= 0){                                                                                                                                                                                           
            ans = "Yes";                                                                                                                                                                                      
            break;                                                                                                                                                                                            
        }                                                                                                                                                                                                     
        a -= d;                                                                                                                                                                                               
        if(a <= 0){                                                                                                                                                                                           
            ans = "No";                                                                                                                                                                                       
            break;                                                                                                                                                                                            
        }                                                                                                                                                                                                     
    }                                                                                                                                                                                                         
    cout << ans << endl;                                                                                                                                                                                      
    return 0;                                                                                                                                                                                                 
} 

Measured memory_bytes: 3620