#include <bits/stdc++.h>
using namespace std;
int main(void) {
  long long int n, k, s;
  cin >> n >> k >> s;
  vector<long long int> aa;
  for (int i = 0; i < k; i++) aa.push_back(s);
  for (int i = 0; i < n - k; i++) aa.push_back(s + 1);
  for (auto &it : aa) cout << it << " ";
  return 0;
}
