#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 < k; i++) {
    ans[i] = s;
  }
  for (int j = k; j < n; ++j) {
    ans[j] = s + 1;
  }
  for (int i = 0; i < n; i++) {
    cout << ans[i] << " ";
  }
}
