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