#include <bits/stdc++.h>
using namespace std;
using vi = vector<int64_t>;
using vvi = vector<vi>;
int main(int argc, const char* argv[]) {
  cin.tie(0);
  ios::sync_with_stdio(false);
  int64_t n, k, s;
  cin >> n >> k >> s;
  vi res(n);
  for (int64_t i = 0; i < (int64_t)(n); i++) {
    if (i < k) {
      res.at(i) = s;
    } else {
      res.at(i) = s + 1;
    }
    cout << res.at(i) << endl;
  }
}
