#include <bits/stdc++.h>
using namespace std;
int main() {
  int n, k, s;
  cin >> n >> k >> s;
  vector<int> A(n + 1);
  for (int i = 1; i <= n; i++) {
    if (i <= k)
      A.at(i) = s;
    else
      A.at(i) = 1;
  }
  if (k == 0 && n == s) {
    for (int i = 0; i < n; i++) {
      if (i < n - 1)
        cout << 1 << " ";
      else {
        cout << 0 << endl;
      }
    }
  } else {
    for (int i = 1; i <= n; i++) {
      if (i < n)
        cout << A.at(i) << " ";
      else {
        cout << A.at(i) << endl;
      }
    }
  }
}
