#include <bits/stdc++.h>
using namespace std;
inline int read() {
  int x = 0;
  bool f = 1;
  char c = getchar();
  if (c == EOF) return 0;
  while (c < '0' || c > '9') {
    if (c == '-') f = 0;
    c = getchar();
  }
  while (c >= '0' && c <= '9')
    x = (x << 3) + (x << 1) + (c ^ 48), c = getchar();
  return f ? x : -x;
}
int n, k, s;
int main() {
  n = read(), k = read(), s = read();
  printf("%d", s);
  for (int i = 1; i < k; i++) printf(" %d", s);
  for (int i = k; i < n; i++) printf(s == 1e9 ? " 1" : " 1000000000");
  putchar(10);
  return 0;
}
