#include <bits/stdc++.h>
using namespace std;
const int INFTY = 1 << 29;
const double EPS = 1e-9;
template <typename T1, typename T2>
ostream& operator<<(ostream& os, const pair<T1, T2>& p) {
  return os << '(' << p.first << ',' << p.second << ')';
}
template <typename T>
ostream& operator<<(ostream& os, const vector<T>& a) {
  os << '[';
  for (int i = int(0); i < int(a.size()); i++) os << (i ? " " : "") << a[i];
  return os << ']';
}
int main() {
  for (int n, k, l, r, sa, sk; cin >> n >> k >> l >> r >> sa >> sk && n;) {
    vector<int> a(n);
    for (int i = int(0); i < int(k); i++) a[i] = (sk + i) / k;
    for (int i = int(0); i < int(n - k); i++)
      a[k + i] = (sa - sk + i) / (n - k);
    for (int i = int(0); i < int(n); i++)
      cout << a[i] << (i < n - 1 ? ' ' : '\n');
  }
}
