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