#include <bits/stdc++.h>
using namespace std;
bool comp(pair<int, int> a, pair<int, int> b) {
  if (a.first < b.first)
    return true;
  else
    return false;
}
int main() {
  int n, k, s;
  cin >> n >> k >> s;
  vector<int> v;
  if (k != 0) {
    while (k--) v.push_back(s);
    while (v.size() != n) {
      v.push_back(s - 1);
    }
    for (int i = 0; i < v.size(); i++) cout << v[i] << " ";
  } else {
    while (k--) v.push_back(s - 1);
    for (int i = 0; i < v.size(); i++) cout << v[i] << " ";
  }
}
