#include <bits/stdc++.h>
#pragma comment(linker, "/STACK:100000000")
using namespace std;
template <class T>
void out(map<char, T>& a, string s = "(%3c ->%3d)") {
  for (auto(it) = (a).begin(); (it) != (a).end(); ++(it))
    printf(s.c_str(), it->first, it->second);
  printf("\n");
}
template <class T>
void out(vector<T>& a, string s = "%3d ") {
  int i, n = a.size();
  for ((i) = 0; (i) < (n); (i)++) printf(s.c_str(), a[i]);
  printf("\n");
}
template <class T>
void out(T* a, int n, string s = "%3d ") {
  int i;
  for ((i) = 0; (i) < (n); (i)++) printf(s.c_str(), a[i]);
  printf("\n");
}
long long i, j, N, M, n, m, k, p;
int main() {
  long long n, k, l, r, sall, sk;
  cin >> n >> k >> l >> r >> sall >> sk;
  long long b = sk / k;
  long long bk = sk % k;
  for ((i) = 0; (i) < (bk); (i)++) cout << b + 1 << " ";
  for ((i) = (bk); (i) < (k); (i)++) cout << b << " ";
  if (k < n) {
    long long lit = (sall - sk) / (n - k);
    long long klit = (sall - sk) % (n - k);
    for ((i) = (0); (i) < (klit); (i)++) cout << lit + 1 << " ";
    for ((i) = (klit); (i) < (n - k); (i)++) cout << lit << " ";
  }
  return 0;
}
