#include <bits/stdc++.h>
using namespace std;
int a[1200];
int l, r, n, k, Sall, Sk;
int main() {
  while (scanf("%d%d%d%d%d%d", &n, &k, &l, &r, &Sall, &Sk) == 6) {
    int x = Sk / k;
    int y = Sk % k;
    for (int i = 1; i <= k; ++i) {
      if (i <= y)
        a[i] = x + 1;
      else
        a[i] = x;
    }
    if (k < n) {
      x = (Sall - Sk) / (n - k);
      y = (Sall - Sk) % (n - k);
      for (int i = 1; i <= n - k; ++i) {
        if (i <= y)
          a[i + k] = x + 1;
        else
          a[i + k] = x;
      }
    }
    for (int i = 1; i < n; ++i) printf("%d ", a[i]);
    printf("%d\n", a[n]);
  }
  fclose(stdin);
  fclose(stdout);
  return 0;
}
