#include <bits/stdc++.h>
using namespace std;
string ALP = "ABCDEFGHIJKLMNOPQRSTUVWXYZ";
string alp = "abcdefghijklmnopqrstuvwxyz";
void Yes() { cout << "Yes" << endl; }
void No() { cout << "No" << endl; }
void YES() { cout << "YES" << endl; }
void NO() { cout << "NO" << endl; }
void neg() { cout << -1 << endl; }
int main() {
  long long n, k, s;
  cin >> n >> k >> s;
  vector<long long> a(0);
  for (int i = 0; i < k; i++) a.push_back(s);
  for (int i = 0; i < n - k; i++) a.push_back(s + 1);
  for (int i = 0; i < n - 1; i++) cout << a.at(i) << " ";
  cout << a.at(n - 1) << endl;
}
