#include <bits/stdc++.h>
using namespace std;
const int n_max = 2005;
int n, k, i, l, r, sall, sk, a[n_max], x, y;
int main() {
  cin >> n >> k >> l >> r >> sall >> sk;
  if (k != 0) x = sk / k;
  if (k != 0) y = sk % k;
  for (i = 1; i <= k; i++) a[i] = x;
  for (i = 1; i <= y; i++) a[i]++;
  if (n != k) x = (sall - sk) / (n - k);
  if (n != k) y = (sall - sk) % (n - k);
  for (i = k + 1; i <= n; i++) a[i] = x;
  for (i = k + 1; i <= k + y; i++) a[i]++;
  for (i = 1; i <= n; i++) cout << a[i] << ' ';
  cout << endl;
}
