#include <bits/stdc++.h>
using namespace std;
void preprocess(void) { return; }
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(NULL);
  cout.precision(20);
  preprocess();
  int n, k, s;
  cin >> n >> k >> s;
  if (s != (int)1e9) {
    for (auto i = (0); i < k; i++) cout << s << " ";
    for (auto i = (k + 1); i < n; i++) cout << (int)1e9 << " ";
    cout << endl;
  } else {
    for (auto i = (0); i < k; i++) cout << s << " ";
    for (auto i = (k + 1); i < n; i++) cout << 1 << " ";
    cout << endl;
  }
}
