#include <bits/stdc++.h>
using namespace std;
int a[1005];
int main() {
  int n, k, l, r, sall, sk;
  cin >> n >> k >> l >> r >> sall >> sk;
  for (int i = 0; i < n; i++) sall -= (a[i] = l);
  sk -= k * l;
  for (int i = 0; 0 < sk; i = (i + 1) % k) {
    a[i]++;
    sk--;
    sall--;
  }
  if (n != k)
    for (int i = k, j = 0; 0 < sall; j = (j + 1) % (n - k), i = j + k) {
      a[i]++;
      sall--;
    }
  for (int i = 0; i < n; i++) cout << a[i] << " ";
  cout << endl;
}
