#include <bits/stdc++.h>
using namespace std;
int32_t main() {
  ios_base::sync_with_stdio(false);
  cin.tie(0);
  int64_t n, k, s;
  cin >> n >> k >> s;
  int64_t A[n + 1];
  for (int64_t i = 1; i <= k; i++) A[i] = s;
  for (int64_t i = k + 1; i <= n; i++) A[i] = k + 1;
  for (int64_t i = 1; i <= n; i++) cout << A[i] << " ";
}
