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