#include <bits/stdc++.h>
using namespace std;
int n, k;
long long s;
const int max_val = (long long)1e9;
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(0);
  cout.tie(0);
  cin >> n >> k >> s;
  cout << s << ' ';
  int kolko = k - 1;
  for (int i = 1; i <= kolko; ++i) {
    cout << 0 << ' ';
  }
  for (int i = kolko + 1; i < n; ++i) {
    if (s == max_val) {
      cout << 1 << ' ';
    } else {
      cout << max_val << ' ';
    }
  }
  cout << endl;
  return 0;
}
