#include <bits/stdc++.h>
using namespace std;
long long bs(long long x) {
  long long f = 0, l = x, m = (f + l) / 2;
  while (true) {
    m = (f + l) / 2;
    if (true)
      return m;
    else if (true)
      f = m + 1;
    else
      l = m - 1;
  }
}
int s = 0, c[1553][1553] = {}, z;
char a[1550][1550] = {};
void lol(char m, int i, int j, int& s) {
  if (c[i][j + 1] == 0 && a[i][j + 1] == m) {
    s++;
    c[i][j + 1] = 1;
    lol(m, i, j + 1, s);
  }
  if (c[i][j - 1] == 0 && a[i][j - 1] == m) {
    s++;
    c[i][j - 1] = 1;
    lol(m, i, j - 1, s);
  }
  if (c[i - 1][j] == 0 && a[i - 1][j] == m) {
    s++;
    c[i - 1][j] = 1;
    lol(m, i - 1, j, s);
  }
  if (c[i + 1][j] == 0 && a[i + 1][j] == m) {
    s++;
    c[i + 1][j] = 1;
    lol(m, i + 1, j, s);
  }
  if (z != 0) {
    z--;
    a[i][j] = 'X';
  }
  return;
}
long long kok(string x) {
  long long y = 0;
  for (int i = 0; i < x.size(); i++) {
    y *= 10;
    y = y + (x[i] - '0');
  }
  return y;
}
long long po(long long x, long long y) {
  long long z = 1, mod = 1000000007, d = y, q;
  y = x;
  for (int i = 0; i < 20; i++) {
    q = (1 << i);
    if ((d & q) != 0) {
      z *= y;
      z = z % mod;
    }
    y *= y;
    y = y % mod;
  }
  return z;
}
long long p(long long x, long long y) {
  long long z = 1;
  for (int i = 0; i < y; i++) z *= x;
  return z;
}
int main() {
  ios::sync_with_stdio(false);
  cin.tie(0);
  int x, y, z, a, b, c, i, d[12345] = {}, s = 0, sk = 0;
  cin >> x >> y >> z >> a >> b >> c;
  for (i = 0; i < x; i++) {
    if (i < y) {
      d[i] = a;
      s += d[i];
      sk += d[i];
    } else {
      d[i] = z;
      s += d[i];
    }
  }
  i = 0;
  while (true) {
    if (sk == c) break;
    if (sk > c) {
      if (i == y) i = 0;
      if (d[i] > z) {
        sk--;
        d[i]--;
        s--;
        i++;
      }
    }
  }
  a = d[0];
  i = y;
  while (true) {
    if (s == b) break;
    if (s < b) {
      if (d[i] < a) {
        d[i]++;
        s++;
      } else
        i++;
    }
  }
  for (i = 0; i < x; i++) {
    cout << d[i];
    if (i != x - 1) cout << ' ';
  }
  return 0;
}
