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