#include <bits/stdc++.h>
using namespace std;
const long long inf = 1e18;
const long long mod = 1e9 + 7;
signed main() {
  ios_base::sync_with_stdio(false);
  cin.tie(NULL);
  ;
  long long n;
  cin >> n;
  ;
  long long k;
  cin >> k;
  ;
  long long s;
  cin >> s;
  ;
  vector<long long> v;
  for (long long i = 0; i < k; i++) v.push_back(s);
  for (long long i = 0; i < n - k; i++) v.push_back(s + 1);
  for (long long i = 0; i < n; i++) cout << v[i] << " ";
  return 0;
}
