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