#include <bits/stdc++.h>
using namespace std;
struct dummie {
  int x, y, z;
  dummie() {}
  dummie(int _x, int _y, int _z) : x(_x), y(_y), z(_z) {}
  bool operator<(const dummie b) const { return true; }
};
int main() {
  ios_base::sync_with_stdio(0);
  cin.tie(NULL);
  int N, K, L, R, Sk, Skt, Sa, resto, n;
  cin >> N >> K >> L >> R >> Sa >> Sk;
  resto = Sk % K;
  for (int i = 0; i < K; i++) {
    if (i) cout << " ";
    n = Sk / K + ((resto > 0) ? 1 : 0);
    resto--;
    cout << n;
  }
  N -= K;
  if (N) {
    resto = (Sa - Sk) % N;
    for (int i = 1; i <= N; i++) {
      if (i) cout << " ";
      n = (Sa - Sk) / N + ((resto > 0) ? 1 : 0);
      resto--;
      cout << n;
    }
  }
  cout << endl;
}
