#include <bits/stdc++.h>
using namespace std;
void c_p_c() {
  ios_base::sync_with_stdio(0);
  cin.tie(0);
  cout.tie(0);
}
int32_t main() {
  c_p_c();
  long long n, k, l, r, sall, sk;
  cin >> n >> k >> l >> r >> sall >> sk;
  vector<long long> v(n);
  long long value = sk / k;
  if (value * k == sk && value >= l && value <= r) {
    for (long long i = 0; i < k; i++) v[i] = value;
  } else {
    long long abq = sk % k;
    for (long long i = 0; i < abq; i++) v[i] += 1;
    for (long long i = 0; i < k; i++) v[i] += value;
  }
  long long x = (sall - sk);
  if (n != k) {
    value = x / (n - k);
    if (value * (n - k) == x) {
      for (long long i = k; i < n; i++) {
        v[i] = value;
      }
    } else {
      long long abq = x % (n - k);
      for (long long i = k; i < k + abq; i++) v[i] = 1;
      for (long long i = k; i < n; i++) {
        v[i] += value;
      }
    }
  }
  for (long long i = 0; i < n; i++) cout << v[i] << " ";
  cout << endl;
}
