#include <bits/stdc++.h>
using namespace std;
int arr[1007];
int main() {
  int n, k, l, r, ss, sk;
  cin >> n >> k >> l >> r >> ss >> sk;
  int val1 = sk / k;
  ss -= sk;
  for (int i = 0; i < k; i++) arr[i] = val1;
  if (sk % k != 0) {
    int rm = sk % k;
    int i = 0;
    while (rm > 0) {
      arr[i] += 1;
      rm -= 1;
      i = (i + 1) % k;
    }
  }
  if (n != k) {
    int val2 = ss / (n - k);
    int rem = ss % (n - k);
    for (int i = k; i < n; i++) arr[i] = val2;
    if (rem != 0) {
      int i = k;
      while (rem > 0) {
        arr[i] += 1;
        rem -= 1;
        i += 1;
      }
    }
  }
  for (int i = 0; i < n; i++) cout << arr[i] << " \n"[i == n - 1];
  return 0;
}
