#include <bits/stdc++.h>
using namespace std;
long long int inf = 1000000000;
int main() {
  long long int n, k, s;
  cin >> n >> k >> s;
  long long int c = 0;
  vector<long long int> ans(n, inf);
  while (c != k) {
    ans[c] = s;
    c++;
  }
  for (int i = 0; i < (n); ++i) {
    cout << ans[i] << " ";
  }
  cout << endl;
  return 0;
}
