#include <bits/stdc++.h>
using namespace std;
const int INF = 1 << 29;
const double EPS = 1e-9;
const int dx[] = {1, 0, -1, 0}, dy[] = {0, -1, 0, 1};
int n, k, l, r, sa, sk;
int sum;
int a[1010];
int main() {
  cin >> n >> k >> l >> r >> sa >> sk;
  memset(a, 0, sizeof(a));
  int d = sk / k;
  for (int i = 1; i <= k; i++) a[i] = d;
  d = sk % k;
  for (int i = 1; i <= d; i++) a[i]++;
  if (k == n) {
    for (int i = 1; i <= n; i++) {
      cout << a[i] << " ";
    }
    return 0;
  }
  sa -= sk;
  l = k + 1;
  k = n - k;
  d = sa / k;
  for (int i = l; i <= n; i++) a[i] = d;
  for (int i = 1; i <= sa % k; i++) a[i + l - 1]++;
  for (int i = 1; i <= n; i++) cout << a[i] << " ";
  return 0;
}
