#include <bits/stdc++.h>
using namespace std;
mt19937 rng(chrono::high_resolution_clock::now().time_since_epoch().count());
int main() {
  ios_base::sync_with_stdio(0);
  cin.tie(0);
  cout.tie(0);
  int n, k, s;
  cin >> n >> k >> s;
  for (int i = 1; i <= k; i++) cout << s << " ";
  if (k > n)
    for (int i = 1; i <= n - k; i++) cout << 1 << " ";
  else
    for (int i = 1; i <= n - k; i++) cout << (int)1e9 << " ";
  cout << "\n";
}
