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