#include <bits/stdc++.h>
using namespace std;
const long long N = 5e5 + 50;
signed main() {
  long long n, k, m;
  cin >> n >> k >> m;
  for (long long i = 1; i <= k; i++) {
    cout << m << " ";
  }
  for (long long i = k + 1; i <= n; i++) {
    if (m != 1e9)
      cout << m + 1 << " ";
    else
      cout << m - 1 << " ";
  }
}
