#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 if (a.first == b.first && a.second <= b.second)
    return true;
  else
    return false;
}
int main() {
  int n, k, s;
  cin >> n >> k >> s;
  vector<int> v;
  v.push_back(s);
  k--;
  while (k--) v.push_back(0);
  while (v.size() != n) {
    v.push_back(s - 1);
  }
  for (int i = 0; i < v.size(); i++) cout << v[i] << " ";
}
