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