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