#include <bits/stdc++.h>
using namespace std;
template <typename T>
inline void read(T &r) {
  static char c;
  r = 0;
  int f = 1;
  for (c = getchar(); c < '0' || c > '9'; c = getchar())
    if (c == '-') f = -1;
  for (; c >= '0' && c <= '9';
       r = (r << 1) + (r << 3) + (c ^ 48), c = getchar())
    ;
  r *= f;
}
int main() {
  int n, k, s;
  scanf("%d%d%d", &n, &k, &s);
  printf("%d", s);
  for (int i = 1; i < n; ++i) {
    if (i <= k)
      printf(" 0");
    else
      printf(" %d", s + 1);
  }
  return 0;
}
