#include <bits/stdc++.h>
using namespace std;
int main() {
  int n, k, s;
  cin >> n >> k >> s;
  vector<int64_t> v(n);
  for (int64_t i = 0; i < n; ++i) {
    if (i < k)
      v[i] = s;
    else
      v[i] = s + 1;
  }
  for (int64_t i = 0; i < n; ++i) {
    cout << v[i];
    if (i != n - 1)
      cout << " ";
    else
      cout << endl;
  }
}
