#include <bits/stdc++.h>
using namespace std;
int main() {
  ios_base::sync_with_stdio(0);
  cin.tie(NULL);
  long long n, k, s;
  cin >> n >> k >> s;
  long long a[n];
  long long ans[n];
  for (long long i = 0; i < k; i++) {
    ans[i] = s;
  }
  for (long long i = k; i < n; i++) {
    ans[i] = s + 1;
  }
  for (long long i = 0; i < n; i++) {
    cout << ans[i] << " ";
  }
  cout << '\n';
  return 0;
}
