#include <bits/stdc++.h>
using namespace std;
long long int powk(long long int a, long long int n) {
  long long int r = 1;
  for (long long int i = 0; i < n; i++) {
    r *= a;
  }
  return r;
}
int main() {
  long long int n, k, s;
  cin >> n >> k >> s;
  vector<long long int> ans(n);
  for (long long int i = 0; i < k; i++) {
    ans[i] = s;
  }
  for (long long int i = k; i < n; i++) {
    ans[i] = 0;
  }
  for (long long int i = 0; i < n; i++) {
    cout << ans[i] << " ";
  }
  return 0;
}
