#include <bits/stdc++.h>
using namespace std;
using ll = long long;
int main() {
  ios::sync_with_stdio(0), cin.tie(0);
  ll n, k, s;
  while (cin >> n >> k >> s) {
    for (int i = 0; i < k; ++i) cout << s << ' ';
    for (int i = k; i < n; ++i) cout << s + 1 << ' ';
    cout << '\n';
  }
  return 0;
}
