#include <bits/stdc++.h>
using namespace std;
int main() {
  long n, m, k, l, r, all, sk;
  while (cin >> n >> k >> l >> r >> all >> sk) {
    long p, p1, h, h1, i;
    p = n - k;
    p1 = all - sk;
    h1 = sk / k;
    h = sk - h1 * k;
    for (i = 1; i <= k; i++) {
      if (h > 0)
        cout << h1 + 1 << " ";
      else
        cout << h1 << " ";
      h--;
    }
    if (p != 0) {
      h1 = p1 / p;
      h = p1 - h1 * p;
      for (i = 1; i <= p; i++) {
        if (h > 0)
          cout << h1 + 1 << " ";
        else
          cout << h1 << " ";
        h--;
      }
    }
    cout << endl;
    ;
  }
  return 0;
}
