#include <bits/stdc++.h>
using namespace std;
int main() {
  int n, k, l, r_0, s_all, s_k;
  cin >> n >> k >> l >> r_0 >> s_all >> s_k;
  int *a = new int[n + 1];
  for (int i = 1; i <= k; ++i) a[i] = s_k / k;
  int r = s_k % k;
  int j = 0;
  while (r > 0) {
    ++a[++j];
    --r;
  }
  if (k < n) {
    for (int i = k + 1; i <= n; ++i) a[i] = (s_all - s_k) / (n - k);
    r = (s_all - s_k) % (n - k);
    j = k;
    while (r > 0) {
      ++a[++j];
      --r;
    }
  }
  for (int i = 1; i <= n; ++i) cout << a[i] << ' ';
  cout << endl;
  delete[] a;
}
