#include <bits/stdc++.h>
using namespace std;
FILE* in = stdin;
FILE* out = stdout;
const int MAX = 100001;
int n, k, s;
int a[MAX];
void solve() {
  for (int i = 0; i < k; i++) a[i] = s;
  for (int i = k; i < n; i++) a[i] = s + 1;
  for (int i = 0; i < n; i++)
    fprintf(out, "%d%c", a[i], i + 1 == n ? '\n' : ' ');
}
int main(void) {
  fscanf(in, "%d %d %d", &n, &k, &s);
  solve();
  return 0;
}
