#include <bits/stdc++.h>
#pragma GCC target("avx")
#pragma GCC optimize(3)
#pragma GCC optimize("Ofast")
template <class T>
inline void in(T &);
template <class T>
inline void out(const T &);
using std::abs;
using std::max;
using std::min;
using std::sort;
using namespace std;
int n, k, s;
int main() {
  in(n);
  in(k);
  in(s);
  for (register int i = 1; i <= n; ++i) {
    if (i <= k)
      out(s);
    else
      out(s / n);
    putchar(' ');
  }
  return 0;
}
template <class T>
void in(T &Re) {
  T k = 0;
  char ch = getchar();
  int flag = 1;
  while (!(ch >= '0' && ch <= '9')) {
    if (ch == '-') {
      flag = -1;
    }
    ch = getchar();
  }
  while ((ch >= '0' && ch <= '9')) {
    k = (k << 1) + (k << 3) + ch - '0';
    ch = getchar();
  }
  Re = flag * k;
}
template <class T>
void out(const T &Wr) {
  if (Wr < 0) {
    putchar('-');
    out(-Wr);
  } else {
    if (Wr < 10) {
      putchar(Wr + '0');
    } else {
      out(Wr / 10);
      putchar((Wr % 10) + '0');
    }
  }
}
