#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 = 1;
  vector<int> a;
  a.push_back(s);
  for (int i = 1; i < (int)k; i++) a.push_back(0);
  for (int i = k; i < (int)n; i++) a.push_back(kk);
  for (auto e : a) cout << e << " ";
  cout << "\n";
}
