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