#include<bits/stdc++.h>
using namespace std;
#define maxn 10010
typedef long long ll;
typedef long double ld;
const ll inF=1e18;
int a,b,c,d;
int main(){
    ios_base::sync_with_stdio(0);
    cin>>a>>b>>c>>d;
    while (a>0&&c>0){
        c-=b;
        if (c<=0){
            cout <<"YES"<< endl;
            break;
        }
        cout << c <<" ";
        a-=d;
        if (a<=0){
            cout <<"NO"<< endl;
            break;
        }
        cout << a << endl;
    }
}
