#include <bits/stdc++.h>
using namespace std;
int gcd(int a, int b) { return b ? gcd(b, a % b) : a; }
void solve();
signed main() {
  ios_base::sync_with_stdio(false);
  cin.tie(NULL);
  cout << fixed << setprecision(10);
  int t = 1;
  while (t--) solve();
  return 0;
}
void solve() {
  int n, k, s;
  cin >> n >> k >> s;
  int kk = s + 1;
  if (s < 1e9)
    kk = 1e9;
  else
    kk = 1;
  vector<int> a;
  if (k != 0) a.push_back(s);
  while ((int)a.size() < k) a.push_back(0);
  for (int i = k; i < (int)n; i++) a.push_back(kk);
  for (auto e : a) cout << e << " ";
  cout << "\n";
}
