#include <bits/stdc++.h>
using namespace std;
long long n, k, sk, sd, l, r, temp, p, var;
long long a[100005];
int main() {
  cin >> n >> k >> l >> r >> sd >> sk;
  var = sk;
  for (int i = 1; i <= n; i++) {
    a[i] = l;
  }
  sk -= l * k;
  temp = sk % k;
  p = sk / k;
  for (int i = 1; i <= k; i++) {
    a[i] += p;
  }
  sk -= p * k;
  for (int i = 1; i <= k; i++) {
    if (sk == 0) break;
    a[i]++;
    sk--;
  }
  sd -= var;
  if (n - k == 0) {
    for (int i = 1; i <= n; i++) cout << a[i] << " ";
    return 0;
  }
  sd -= l * (n - k);
  temp = sd % (n - k);
  p = sd / (n - k);
  for (int i = k + 1; i <= n; i++) {
    a[i] += p;
    sd -= p;
  }
  for (int i = k + 1; i <= n; i++) {
    if (sd == 0) break;
    a[i]++;
    sd--;
  }
  for (int i = 1; i <= n; i++) cout << a[i] << " ";
}
