#include <bits/stdc++.h>
using namespace std;
signed main() {
  long long n, k, sum;
  cin >> n >> k >> sum;
  for (long long i = 0; i < (n); ++i) {
    long long tmp;
    if (i < k)
      tmp = sum;
    else
      tmp = sum + 1;
    if (i == n - 1)
      cout << tmp;
    else
      cout << (tmp) << " ";
  }
  cout << "\n";
  return 0;
}
