#include <bits/stdc++.h>
using namespace std;
int main() {
  cin.tie(0);
  ios::sync_with_stdio(false);
  long long N, K, S;
  cin >> N >> K >> S;
  if (S == 1e9) {
    for (int i = 0; i < K; i++) {
      cout << 1e9 << " ";
    }
    for (int i = K; i < N; i++) {
      cout << 1 << " ";
    }
    cout << endl;
  } else {
    for (int i = 0; i < K; i++) {
      cout << S << " ";
    }
    for (int i = K; i < N; i++) {
      cout << 1e9 << " ";
    }
    cout << endl;
  }
  return 0;
}
