#include <bits/stdc++.h>
using namespace std;
int main() {
  cin.tie(nullptr);
  ios::sync_with_stdio(false);
  int n, k, s;
  cin >> n >> k >> s;
  vector<int> A(n);
  for (int i = 0; i < n; i++) {
    if (i < k)
      A[i] = s;
    else {
      if (s == 1e9) {
        A[i] = 0;
      } else {
        A[i] = s + 1;
      }
    }
  }
  for (auto x : A) {
    cout << x << ' ';
  }
  cout << endl;
  return 0;
}
