#include using namespace std; using ll = long long; template void print(_ForwardIterator first, _ForwardIterator last) { bool f = true; for (auto it = first; it != last; ++it) { if (!f) { cout << " "; } cout << *it; f = false; } cout << endl; } int main() { cin.tie(nullptr); ios::sync_with_stdio(false); int N, K; cin >> N >> K; ll X, Y; cin >> X >> Y; if (K == 1) { vector A(N); if (Y - X >= N - 1) { for (int i = 0; i < N; i++) { A[i] = X + i; } A[N - 1] = Y; cout << "Yes" << endl; print(A.begin(), A.end()); } else { cout << "No" << endl; } } else { vector A(N); vector B(K); if (K % 2 == 0) { for (int i = 0; i < K; i++) { B[i] = X; } } else { for (int i = 0; i < K - 3; i++) { B[i] = X; } B[K - 3] = 3; B[K - 2] = 2; B[K - 1] = 1; } for (int i = 0; i < N; i++) { A[i] = B[i % K]; } A[N - 1] = Y; cout << "Yes" << endl; print(A.begin(), A.end()); } }