#include <bits/stdc++.h>
using namespace std;
int main() {
  long long int n, k, l, r, sk, sall;
  ios::sync_with_stdio(false);
  cin >> n >> k >> l >> r >> sall >> sk;
  long long int temp, temp2;
  long long int ans[n + 1];
  long long int i = 0;
  temp = sk / k;
  for (i = 0; i < k; i++) ans[i] = temp;
  temp = sk % k;
  i = 0;
  while (temp > 0) {
    ans[i] += 1;
    temp--;
    i++;
  }
  if (n == k) {
    for (i = 0; i < n; i++) cout << ans[i] << ' ';
    cout << endl;
    return 0;
  }
  temp = (sall - sk) / (n - k);
  temp2 = (sall - sk) % (n - k);
  i = k;
  while (i < n) {
    ans[i] = temp;
    if (temp2 > 0) ans[i] += 1;
    temp2--;
    i++;
  }
  for (i = 0; i < n; i++) cout << ans[i] << ' ';
  cout << endl;
  return 0;
}
