#include <bits/stdc++.h>
using namespace std;
using Pair = pair<int64_t, int64_t>;
constexpr int64_t kInf = INT64_MAX / 2L;
int main() {
  cin.tie(0);
  ios::sync_with_stdio(false);
  int64_t N, K, S;
  cin >> N >> K >> S;
  vector<int64_t> A(N);
  for (int64_t i = 0; i < N; ++i) {
    if (i != 0) {
      cout << " ";
    }
    if (i < K) {
      cout << S;
    } else {
      cout << (S + 1);
    }
  }
  cout << endl;
  return 0;
}
