#include <bits/stdc++.h>
using namespace std;
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(NULL);
  long long n, k, l, r, S, s;
  cin >> n >> k >> l >> r >> S >> s;
  long long filFirst = S - s;
  long long f = 0;
  if (n - k != 0) f = filFirst / (n - k);
  long long ans[n];
  for (int i = 0; i < n - k; i++) {
    ans[i] = f;
  }
  long long S1 = f * (n - k);
  long long diff = (filFirst - S1);
  for (int i = 0; i < diff; i++) {
    ans[i]++;
  }
  f = s / k;
  for (int i = n - k; i < n; i++) {
    ans[i] = f;
  }
  S1 = f * (k);
  diff = (s - S1);
  for (int i = n - k; i < n && diff > 0; i++) {
    diff--;
    ans[i]++;
  }
  for (auto i : ans) {
    cout << i << " ";
  }
}
