#include <bits/stdc++.h>
using namespace std;
bool sortbysec(const pair<int, int> &a, const pair<int, int> &b) {
  return a.second < b.second;
}
bool compare(const pair<string, int> &a, const pair<string, int> &b) {
  return a.second < b.second;
}
int gcd(int a, int b) {
  if (b == 0) return a;
  return gcd(b, a % b);
}
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(NULL);
  cout.tie(NULL);
  long long int n, k, s;
  cin >> n >> k >> s;
  vector<long long int> arr(n);
  for (int i = 0; i < k; i++) arr[i] = s;
  for (int i = k; i < n; i++) arr[i] = s + 1;
  for (int i = 0; i < n; i++) cout << arr[i] << " ";
  cout << "\n";
}
