#include <bits/stdc++.h>
using namespace std;
vector<int> v;
int main() {
  int n, k, l, r, sall, sk, i, res, ext, j, a, b;
  while (scanf("%d %d %d %d %d %d", &n, &k, &l, &r, &sall, &sk) == 6) {
    v.clear();
    if (sk % k == 0) {
      res = sk / k;
      for (i = 0; i < k; i++) {
        v.push_back(res);
      }
    } else {
      res = sk / k;
      ext = sk % k;
      for (i = 0, j = 0; i < k; i++, j++) {
        if (j < ext)
          v.push_back(res + 1);
        else
          v.push_back(res);
      }
    }
    a = sall - sk;
    b = n - k;
    if (b > 0) {
      if (a % b == 0) {
        res = a / b;
        for (i = 0; i < b; i++) {
          v.push_back(res);
        }
      } else {
        res = a / b;
        ext = a % b;
        for (i = 0, j = 0; i < b; i++, j++) {
          if (j < ext)
            v.push_back(res + 1);
          else
            v.push_back(res);
        }
      }
    }
    for (i = 0; i < ((int)v.size()); i++) {
      if (!i)
        cout << v[i];
      else
        cout << " " << v[i];
    }
    cout << endl;
  }
  return 0;
}
