#include <bits/stdc++.h>
using namespace std;
int main() {
  long long n, k, s;
  cin >> n >> k >> s;
  vector<long long> ans(n);
  for (int i = 0; i < n; i++) {
    if (i < k) {
      ans.at(i) = s;
    } else {
      ans.at(i) = s + 1;
    }
    cout << ans.at(i) << " " << endl;
  }
}
