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