#include <bits/stdc++.h>
using namespace std;
signed main() {
  long long n, k, l, r, sall, sk;
  cin >> n >> k >> l >> r >> sall >> sk;
  long long sum = 0;
  long long temp = sk % k;
  long long a[n];
  for (long long i = 0; i < k; i++) {
    a[i] = (sk / k) + (temp > 0);
    temp--;
  }
  if (k != n) {
    temp = (sall - sk) % (n - k);
    for (long long i = k; i < (n); i++) {
      a[i] = (sall - sk) / (n - k) + (temp > 0);
      temp--;
    }
  }
  for (long long i = 0; i < n; i++) {
    cout << a[i] << ' ';
  }
  cout << '\n';
}
