#include <bits/stdc++.h>
using namespace std;
using ll = long long int;
using P = pair<int, int>;
int main(void) {
  int n, k, s;
  cin >> n >> k >> s;
  for (int i = 0; i < k; i++) {
    cout << s << " ";
  }
  for (int i = 0; i < n - k; i++) {
    if (i == n - k)
      cout << 0 << endl;
    else
      cout << 0 << " ";
  }
  return 0;
}
