#include <bits/stdc++.h>
using namespace std;
int a[5000];
int main() {
  int n, k, l, r, s, sk;
  cin >> n >> k >> l >> r >> s >> sk;
  int d = s - sk;
  for (int i = 1; i <= k; i++) {
    a[i] = sk / k;
    if (sk % k != 0) {
      a[i]++;
      sk--;
    }
  }
  if (k != n) {
    for (int i = k + 1; i <= n; i++) {
      a[i] = d / (n - k);
      if (d % (n - k) != 0) {
        a[i]++;
        d--;
      }
    }
  }
  bool ok = true;
  for (int i = 1; i <= k; i++) {
    if (a[i] < l || a[i] > r) ok = false;
    for (int j = k + 1; j <= n; j++) {
      if (a[j] < l || a[j] > r) ok = false;
      if (a[j] > a[i]) ok = false;
    }
  }
  if (!ok) cout << "wrong" << endl;
  for (int i = 1; i <= n; i++) cout << a[i] << " ";
  cout << endl;
  return 0;
}
