#include <bits/stdc++.h>
using namespace std;
const int N = 1e5 + 10;
int a[N];
int main() {
  int n, k, s;
  cin >> n >> k >> s;
  if (k == 0) {
    for (int i = 0; i < n; ++i) cout << 0 << " ";
  } else {
    cout << s << " ";
    for (int i = 0; i < k - 1; ++i) cout << "0 ";
    if (s <= 100000)
      for (int i = 0; i < n - k; ++i) cout << "1000000000 ";
    else
      for (int i = 0; i < n - k; ++i) cout << "1 ";
  }
  return 0;
}
