#include <bits/stdc++.h>
using namespace std;
inline int read() {
  int X = 0, w = 1;
  char c = getchar();
  while (c < '0' || c > '9') {
    if (c == '-') w = -1;
    c = getchar();
  }
  while (c >= '0' && c <= '9') X = X * 10 + c - '0', c = getchar();
  return X * w;
}
const int inf = 1000000000;
int main() {
  int n = read(), k = read(), s = read();
  if (s == inf) {
    for (register int i = 1; i < k; ++i) printf("%d ", inf);
    printf("%d ", inf - (n - k));
    for (register int i = k + 1; i <= n; ++i) printf("%d ", 1);
    puts("");
  } else {
    for (register int i = 1; i <= k; ++i) printf("%d ", s);
    for (register int i = k + 1; i <= n; ++i) printf("%d ", inf);
    puts("");
  }
  return 0;
}
