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