#include <bits/stdc++.h>
using namespace std;
signed main() {
  ios_base::sync_with_stdio(0);
  cin.tie(0);
  long long n, k, second;
  cin >> n >> k >> second;
  for (long long i = 0; i < k; ++i) cout << second << ' ';
  for (long long i = 0; i < n - k; ++i) cout << second + 1 << ' ';
  cout << '\n';
}
