#include <bits/stdc++.h>
using namespace std;
int main() {
  int n, k, l, r, sall, sk;
  cin >> n >> k >> l >> r >> sall >> sk;
  int t1 = sk / k;
  int t2 = sk % k;
  for (int i = 1; i <= k - t2; i++) {
    cout << t1 << " ";
  }
  for (int i = 1; i <= t2; i++) {
    cout << t1 + 1 << " ";
  }
  if (n == k) {
    cout << endl;
    return 0;
  }
  n = n - k;
  sall = sall - sk;
  t1 = sall / n;
  t2 = sall % n;
  for (int i = 0; i < n - t2; i++) {
    cout << t1 << " ";
  }
  for (int j = 0; j < t2; j++) {
    cout << t1 + 1 << " ";
  }
  cout << endl;
  return 0;
}
