#include <bits/stdc++.h>
using namespace std;
const int inf = 0x7fffffff;
int n, k, s;
int main() {
  cin >> n >> k >> s;
  for (int i = 1; i <= k; i++) printf("%d ", s);
  if (s < inf) {
    for (int i = k + 1; i <= n; i++) printf("%d ", inf);
  } else
    for (int i = k + 1; i <= n; i++) printf("1 ");
  putchar(10);
  return 0;
}
