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