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