#include <bits/stdc++.h>
template <class T>
inline bool chmin(T& a, T b) {
  if (a > b) {
    a = b;
    return true;
  }
  return false;
}
template <class T>
inline bool chmax(T& a, T b) {
  if (a < b) {
    a = b;
    return true;
  }
  return false;
}
using namespace std;
using ll = long long;
using P = pair<int, int>;
using Pl = pair<long long, long long>;
using veci = vector<int>;
using vecl = vector<long>;
using vecveci = vector<vector<int>>;
using vecvecl = vector<vector<long long>>;
int main() {
  int N, K;
  cin >> N >> K;
  ll S;
  cin >> S;
  vecl ans(N);
  ll cnt = 1e9;
  ++cnt;
  for (int i = 0; i < (K); ++i) ans[i] = S;
  for (int i = K; i < N; i++) {
    ans[i] = cnt;
  }
  for (auto x : ans) cout << x << " ";
  cout << endl;
}
