#include <bits/stdc++.h>
using namespace std;
int main() {
  int n, k, s;
  cin >> n >> k >> s;
  vector<long long int> arr;
  for (long long int i = 0; i < k; i++) {
    arr.push_back(s);
  }
  for (long long int i = k; i < n; i++) {
    arr.push_back(s + 1);
  }
  for (auto x : arr) {
    cout << x << " ";
  }
  cout << endl;
  return 0;
}
