#include using namespace std; int main() { int N, K, X, Y; cin >> N >> K >> X >> Y; if (Y == 0) { puts("No"); return 0; } if (K == 1) { int lst = X + (N - 1); if (Y < lst) { puts("No"); } else { puts("Yes"); for (int i = 0; i < N-1; i ++) { cout << X + i << " "; } cout << Y << endl; } return 0; } puts("Yes"); std::vector ans(N, 0); ans[0] = ans[1] = X; ans.back() = Y; for (int i = K; i < N-1; i ++) { ans[i] = ans[i-K]; } for (int& a : ans) cout << a << " "; cout << endl; }