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