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