#include <bits/stdc++.h>
using namespace std;
const double eps = 1e-9;
const double pi = acos(-1.0);
const int maxn = (int)1e5 + 10;
const int mod = (int)1e9;
int fastMax(int x, int y) { return (((y - x) >> (32 - 1)) & (x ^ y)) ^ y; }
int fastMin(int x, int y) { return (((y - x) >> (32 - 1)) & (x ^ y)) ^ x; }
void Get(int &T) {
  char C;
  bool F = 0;
  for (; C = getchar(), C < '0' || C > '9';)
    if (C == '-') F = 1;
  for (T = C - '0'; C = getchar(), C >= '0' && C <= '9'; T = T * 10 + C - '0')
    ;
  F && (T = -T);
}
long a[10000];
int main() {
  long n, k, l, r, second, sk, c, d, i, rm;
  cin >> n >> k >> l >> r >> second >> sk;
  c = second - sk;
  if (n - k > 0) {
    d = c / (n - k);
    rm = c % (n - k);
  } else {
    d = 0;
    rm = 0;
  }
  for (i = k + 1; i <= n; i++)
    if (rm > 0) {
      a[i] = d + 1;
      rm--;
    } else
      a[i] = d;
  d = sk / k;
  rm = sk % k;
  for (i = 1; i <= k; i++)
    if (rm > 0) {
      a[i] = d + 1;
      rm--;
    } else
      a[i] = d;
  for (i = 1; i <= n; i++) cout << a[i] << " ";
  return 0;
}
