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