#include <bits/stdc++.h>
using namespace std;
const long long INF = 1e18 + 118;
int32_t main() {
  ios_base::sync_with_stdio(false);
  cin.tie(0);
  long long n, k, s;
  cin >> n >> k >> s;
  for (long long i = 0; i < k; ++i) {
    cout << s << " ";
  }
  for (long long i = k; i < n; ++i) {
    cout << s + 1 << " ";
  }
  cout << endl;
  return 0;
}
