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