#include <bits/stdc++.h>
using namespace std;
int n, k, s;
inline int read() {
  int x = 0;
  int flag = 0;
  char ch;
  ch = getchar();
  while (!isdigit(ch)) {
    if (ch == '-') flag = 1;
    ch = getchar();
  }
  while (isdigit(ch)) {
    x = (x << 3) + (x << 1) + ch - 48;
    ch = getchar();
  }
  if (flag == 1) x = -x;
  return x;
}
int main() {
  n = read();
  k = read();
  s = read();
  for (register int i = 1; i <= k; i++) {
    printf("%d ", s);
  }
  for (register int i = k + 1; i <= n; i++) {
    printf("%d ", s + 1);
  }
  return 0;
}
