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