#include <bits/stdc++.h>
using namespace std;
int main(void) {
  int n, k, s;
  cin >> n >> k >> s;
  for (int i = 0; i != k; i++) {
    if (i != 0) cout << ' ';
    cout << s;
  }
  for (int i = k; i != n; i++) {
    if (i != 0) cout << ' ';
    cout << s + 1;
  }
  cout << endl;
  return 0;
}
