#include <bits/stdc++.h>
using namespace std;
struct all_init {
  all_init() { cout << fixed << setprecision(12); }
} All_init;
int main() {
  long long n, k, s;
  cin >> n >> k >> s;
  vector<long long> a(n);
  for (long long i = 0; i < n; i++) {
    if (k > 0) {
      a[i] = s;
      k--;
    } else {
      a[i] = 0;
    }
  }
  for (long long i = 0; i < n; i++) {
    cout << a[i] << " ";
  }
  cout << endl;
}
