#include <bits/stdc++.h>
using namespace std;
int main() {
  int N, K, S;
  cin >> N >> K >> S;
  vector<int> ans(N);
  for (int i = 0; i < N; i++) {
    if (S <= 1e5) {
      if (i < K)
        ans[i] = S;
      else
        ans[i] = 1;
    } else {
      if (i < K + 1)
        ans[i] = (i % 2 == 0 ? S / 2 : S / 2 + S % 2);
      else
        ans[i] = 1;
    }
  }
  for (int i = 0; i < N; i++) {
    cout << ans[i] << " ";
  }
  cout << endl;
}
