#include <bits/stdc++.h>
using namespace std;
inline string get_string() {
  char ch[1000000];
  scanf("%s", ch);
  return ch;
}
inline int get_Int() {
  int x;
  scanf("%d", &x);
  return x;
}
inline long long get_long() {
  long long x;
  cin >> x;
  return x;
}
int main() {
  long long sum = 0, n, k, sAll, Sk, l, r, sb, i, j;
  long long kMin, cMax;
  cin >> n >> k >> l >> r >> sAll >> Sk;
  sb = sAll - Sk;
  kMin = max(l, Sk / k);
  for (long long i = 0; i < (n - k - 1); i++) {
    for (long long j = l; j <= r; j++) {
      if (j + (n - k - i - 1) * r + sum >= sb) {
        cMax = (sb - sum - j + n - k - i - 2) / (n - k - i - 1);
        if (cMax <= kMin) {
          sum += j;
          cout << j << " ";
          break;
        }
      }
    }
  }
  if (k != n) cout << sb - sum << " ";
  sum = 0;
  for (long long i = 0; i < k - 1; i++) {
    for (long long j = kMin; j <= r; j++) {
      if (sum + j + (k - i - 1) * r >= Sk) {
        sum += j;
        cout << j << " ";
        break;
      }
    }
  }
  cout << Sk - sum << "\n";
}
