#include <bits/stdc++.h>
using namespace std;
vector<int> ans;
int main() {
  int n, k, l, r, sall, sk;
  cin >> n >> k >> l >> r >> sall >> sk;
  int sminor = sall - sk;
  int minors = n - k;
  if (minors != 0) {
    int x = sminor / minors;
    int soma = minors * x;
    int p1 = sminor - soma;
    for (int i = 0; i < p1; i++) ans.push_back(x + 1);
    for (int i = 0; i < minors - p1; i++) ans.push_back(x);
  }
  int major = sk / k;
  int soma = k * major;
  int p1 = sk - soma;
  for (int i = 0; i < p1; i++) ans.push_back(major + 1);
  for (int i = 0; i < k - p1; i++) ans.push_back(major);
  for (auto u : ans) cout << u << " ";
}
