#include <bits/stdc++.h>
using namespace std;
int main() {
  long long n, k, s;
  cin >> n >> k >> s;
  vector<long long> a(n, s + 1);
  for (long long i = 0; i < (long long)(k); i++) {
    a[i] = s;
  }
  for (long long i = 0; i < (long long)(n); i++) {
    cout << a[i] << " ";
  }
  cout << endl;
}
