#include <bits/stdc++.h>
using namespace std;
int main(int argc, char const *argv[]) {
  ios_base::sync_with_stdio(false);
  cin.tie(NULL);
  long long n, k, l, r, sall, sk;
  cin >> n >> k >> l >> r >> sall >> sk;
  for (int i = 0; i < sk % k; ++i) {
    cout << sk / k + 1 << " ";
  }
  for (int i = 0; i < k - (sk % k); ++i) {
    cout << sk / k << " ";
  }
  if (n == k) return 0;
  for (int i = 0; i < (sall - sk) % (n - k); ++i) {
    cout << (sall - sk) / (n - k) + 1 << " ";
  }
  for (int i = 0; i < (n - k) - ((sall - sk) % (n - k)); ++i) {
    cout << (sall - sk) / (n - k) << " ";
  }
  return 0;
}
