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