#include <bits/stdc++.h>
using namespace std;
int main() {
  ios::sync_with_stdio(false);
  cin.tie(nullptr);
  cout.tie(nullptr);
  int T = 1;
  for (int t = 1; t <= T; ++t) {
    int n, k, l, r, s_all, s_k;
    cin >> n >> k >> l >> r >> s_all >> s_k;
    int res[n + 1];
    for (int i = 1; i <= k; ++i) {
      res[i] = s_k / k;
    }
    s_all -= k * ((s_k) / k);
    s_k -= k * ((s_k) / k);
    for (int i = 1; i <= s_k; ++i) {
      res[i] += 1;
    }
    s_all -= s_k;
    for (int i = k + 1; i <= n; ++i) {
      res[i] = l;
      s_all -= l;
    }
    while (s_all > 0) {
      for (int i = k + 1; i <= n; ++i) {
        if (s_all > 0) {
          s_all -= 1;
          res[i] += 1;
        } else {
          break;
        }
      }
    }
    for (int i = 1; i <= n; ++i) {
      cout << res[i] << " ";
    }
  }
}
