#include <bits/stdc++.h>
#pragma warning(disable : 4996)
using namespace std;
int n, k, l, r, s, sk;
int arr[1002];
int main() {
  cin >> n >> k >> l >> r >> s >> sk;
  for (int i = 1; i <= n; i++) {
    arr[i] = l;
  }
  int i = 1;
  sk -= l * k;
  while (sk) {
    --sk;
    if (i == k + 1) i = 1;
    arr[i]++;
    i++;
  }
  for (int i = 1; i <= n; i++) s -= arr[i];
  i = n;
  while (s) {
    --s;
    if (i == k) i = n;
    arr[i]++;
    --i;
  }
  for (int i = 1; i <= n; i++) {
    cout << arr[i] << " ";
  }
  return 0;
}
