#include <bits/stdc++.h>
using namespace std;
signed main() {
  ios_base::sync_with_stdio(false);
  cin.tie(NULL);
  cout.tie(NULL);
  ;
  long long n, k, s;
  cin >> n >> k >> s;
  for (long long i = 0; i < k; i++) {
    cout << s << " ";
  }
  for (long long i = k; i < n; i++) {
    cout << s + 1 << " ";
  }
}
