#include <bits/stdc++.h>
using namespace std;
int main() {
  int n, k, l, r, all, sk;
  cin >> n >> k >> l >> r >> all >> sk;
  int arr[n];
  for (int i = 0; i < n; i++) arr[i] = l;
  int rem = all - l * n;
  int inc = sk - k * l;
  while (inc > 0) {
    for (int i = 0; i < k; i++) {
      if (inc > 0) {
        arr[i]++;
        inc--;
        rem--;
      } else {
        break;
      }
    }
  }
  while (rem > 0) {
    for (int i = k; i < n; i++) {
      if (rem > 0) {
        arr[i]++;
        rem--;
      } else {
        break;
      }
    }
  }
  for (int i = 0; i < n; i++) cout << arr[i] << " ";
  return 0;
}
