#include <bits/stdc++.h>
using namespace std;
int main() {
  int n, k, l, r;
  long sall, sk;
  cin >> n >> k >> l >> r >> sall >> sk;
  long d = sk / k, m = sk % k;
  for (long i = 0; i < m; ++i) cout << d + 1 << " ";
  for (long i = m; i < k; ++i) cout << d << " ";
  if (k < n) {
    d = (sall - sk) / (n - k);
    m = (sall - sk) % (n - k);
    for (long i = 0; i < m; ++i) cout << d + 1 << " ";
    for (long i = m; i < n - k; ++i) cout << d << " ";
  }
  return 0;
}
