#include <bits/stdc++.h>
using namespace std;
int a[1234];
int main() {
  int n;
  cin >> n;
  int k;
  cin >> k;
  int l;
  cin >> l;
  int r;
  cin >> r;
  int sall;
  cin >> sall;
  int sk;
  cin >> sk;
  ;
  int total = 0;
  int subtotal = 0;
  for (int i(0); i < n; i++) {
    a[i] = l;
    total += l;
    if (i < k) subtotal += l;
  }
  for (int i(0); i < r - l + 1; i++) {
    if (subtotal == sk) break;
    for (int j(0); j < k; j++) {
      a[j]++;
      total++;
      subtotal++;
      if (subtotal == sk) break;
    }
  }
  while (1) {
    if (total == sall) break;
    for (int i(k); i < n; i++) {
      a[i]++;
      total++;
      if (total == sall) break;
    }
  }
  for (int i(0); i < n; i++) {
    cout << a[i] << " ";
  }
  cout << endl;
  return 0;
}
