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