#include <bits/stdc++.h>
using namespace std;
int ans[1005];
int main() {
  int n, k, l, r, sall, sk;
  scanf("%d%d%d%d%d%d", &n, &k, &l, &r, &sall, &sk);
  int score = sk / k;
  for (int i = 0; i < k; i++) ans[i] = score;
  int num = sk - score * k;
  int id = 0;
  while (num > 0) {
    if (ans[id] <= r) {
      ans[id]++;
      num--;
    }
    id++;
    if (id >= k) id %= k;
  }
  if (n > k) {
    int tmp = sall - sk;
    score = tmp / (n - k);
    for (int i = k; i < n; i++) {
      ans[i] = score;
    }
    num = tmp - score * (n - k);
    id = k;
    while (num > 0) {
      if (ans[id] <= ans[k - 1]) {
        ans[id]++;
        num--;
      }
      id++;
      if (id == n) {
        id = k;
      }
    }
  }
  for (int i = 0; i < n; i++) {
    if (i)
      printf(" %d", ans[i]);
    else
      printf("%d", ans[i]);
  }
  puts("");
  return 0;
}
