#include <bits/stdc++.h>
using namespace std;
int main() {
  int n, k, l, r, S_all, S_k, rem, i;
  cin >> n >> k >> l >> r >> S_all >> S_k;
  rem = S_k % k;
  for (i = 0; i < rem; i++) cout << S_k / k + 1 << " ";
  for (i = 0; i < k - rem; i++) cout << S_k / k << " ";
  S_k = S_all - S_k;
  k = n - k;
  if (k) {
    rem = S_k % k;
    for (i = 0; i < rem; i++) cout << S_k / k + 1 << " ";
    for (i = 0; i < k - rem; i++) cout << S_k / k << " ";
  }
  cout << endl;
  return 0;
}
