#include <bits/stdc++.h>
using namespace std;
int main() {
  int N, K, S;
  cin >> N >> K >> S;
  vector<int> res(N);
  for (int i = 0; i < K; i++) res[i] = S;
  for (int i = K; i < N; i++) res[i] = INT32_MAX;
  for (int i = 0; i < N; i++) {
    cout << res[i] << " ";
  }
  cout << endl;
  return 0;
}
