// Copyright 2019 yaito3014
#include "bits/stdc++.h"
using namespace std;
using namespace literals;

int main() {
  cin.tie(nullptr); ios::sync_with_stdio(false);
  const int INF = 1e9;
  int N, K, S;
  cin >> N >> K >> S;
  for (int i = 0; i < N; ++i)
    cout << (i < K ? S : INF) << " ";
  cout << endl;
}
