#include <bits/stdc++.h>
using namespace std;
priority_queue<pair<long long, long long>, vector<pair<long long, long long> >,
               greater<pair<long long, long long> > >
    pq;
priority_queue<long long, vector<long long>, greater<long long> > pq1;
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(NULL);
  cout.tie(NULL);
  long long n, k, s;
  cin >> n >> k >> s;
  vector<long long> arr(n);
  for (int i = 0; i < k; i++) {
    arr[i] = s;
  }
  for (int j = k; j < n; j++) {
    arr[j] = s + 1;
  }
  for (int i = 0; i < n; i++) cout << arr[i] << " ";
  return 0;
}
