#include <bits/stdc++.h>
using ll = long long;
using namespace std;
template <class T>
bool chmax(T &a, const T &b) {
  if (a < b) {
    a = b;
    return 1;
  }
  return 0;
}
template <class T>
bool chmin(T &a, const T &b) {
  if (b < a) {
    a = b;
    return 1;
  }
  return 0;
}
int main() {
  int n, k, s;
  cin >> n >> k >> s;
  for (int i = 0; i < k; i++) cout << s << " ";
  for (int i = 0; i < n - k; i++) cout << s + 1 << " ";
  cout << "\n";
  return 0;
}
