#include <bits/stdc++.h>
using namespace std;
int n, k, l, r, sum, sk, sd;
int a[int(1e5)];
int main() {
  scanf("%d%d%d%d%d%d", &n, &k, &l, &r, &sum, &sk);
  int sd = sum - sk - l * (n - k);
  for (int i = (1), _b = (n); i <= _b; i++) a[i] = l;
  sk -= k * l;
  int i = 1;
  while (sk != 0) {
    a[i]++;
    sk--;
    i++;
    if (i == k + 1) i = 1;
  }
  i = k + 1;
  while (sd != 0) {
    a[i]++;
    sd--;
    i++;
    if (i == n + 1) i = k + 1;
  }
  for (int i = (1), _b = (n); i <= _b; i++) printf("%d ", a[i]);
}
