#include <bits/stdc++.h>
using namespace std;
using ll = long long;
using vll = vector<ll>;
using vvll = vector<vector<ll>>;
using P = pair<ll, ll>;
int main() {
  cin.tie(0);
  ios::sync_with_stdio(false);
  ll n, k, s;
  cin >> n >> k >> s;
  if (k == 0) {
    for (int i = 0; i < n; i++) cout << 0 << " ";
    cout << endl;
    return 0;
  }
  cout << s << " ";
  for (int i = 0; i < k - 1; i++) cout << 0 << " ";
  for (int i = 0; i < n - k; i++) cout << s + 1 << " ";
  cout << endl;
  return 0;
}
