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