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