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