#include <bits/stdc++.h>
using namespace std;
const double PI = acos(-1.0);
void poof(int sk, int K) {
  int d = sk / K, numplusone = sk % K, num = K - numplusone;
  while (numplusone--) printf("%d ", d + 1);
  while (num--) printf("%d ", d);
}
int N, K, L, R, sall, sk;
int main(int argc, char** argv) {
  scanf("%d%d%d%d%d%d", &N, &K, &L, &R, &sall, &sk);
  poof(sk, K);
  if (N != K) poof(sall - sk, N - K);
  return 0;
}
