#include <bits/stdc++.h>
using namespace std;
constexpr long long mod = 1e9 + 7;
signed main() {
  long long n, k, s;
  cin >> n >> k >> s;
  for (long long i = 0; i < n; i++)
    cout << s + (i >= k) << (i + 1 == n ? '\n' : ' ');
}
