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