#include <bits/stdc++.h>
using namespace std;
using ll = long long;
int main() {
  ll n, k, s;
  cin >> n >> k >> s;
  for (ll i = 0; i < k; ++i) cout << s << " ";
  for (ll i = 0; i < n - k; ++i) cout << s - 1 << " ";
}
