#include <bits/stdc++.h>
using namespace std;
int n, k, s;
inline long long min(long long x, long long y) { return x < y ? x : y; }
inline long long max(long long x, long long y) { return x > y ? x : y; }
inline void swap(long long &x, long long &y) { x ^= y, y ^= x, x ^= y; }
inline bool isltr(char x) {
  return ('A' <= x && x <= 'Z') || ('a' <= x && x <= 'z');
}
inline bool isnum(char x) { return ('0' <= x && x <= '9'); }
inline long long readlint() {
  long long val = 0, sign = 1;
  char tmp = getchar();
  while (!isnum(tmp)) {
    if (tmp == '-') {
      sign = -sign;
    }
    tmp = getchar();
  }
  while (isnum(tmp)) {
    val = (val << 1) + (val << 3) + tmp - 48;
    tmp = getchar();
  }
  return val * sign;
}
inline char readlter() {
  char tmp = getchar();
  while (!isltr(tmp)) tmp = getchar();
  return tmp;
}
int main() {
  n = readlint();
  k = readlint();
  s = readlint();
  int cnt = 0;
  for (int i = 0; i < k; i++) {
    printf("%d ", s);
  }
  if (s < 1000000000) {
    for (int i = k; i <= n; i++) {
      printf("1000000000 ");
    }
  } else {
    printf("1 ");
  }
  printf("\n");
  return 0;
}
