#include <bits/stdc++.h>
using namespace std;
int main() {
  long long n, k, s;
  cin >> n >> k >> s;
  long long inf = 10000000000;
  ;
  vector<long long> ansi(n, inf);
  for (int i = 0; i < k; i++) {
    ansi[i] = s;
  }
  for (int i = k; i < n; i++) {
    ansi[i] = s + 1;
  }
  for (int i = 0; i < n; i++) cout << ansi[i] << " ";
  cout << endl;
  return 0;
}
