#include <bits/stdc++.h>
using namespace std;
using ll = long long;
const ll INF = 1e18;
const int inf = 2e9;
const ll MOD = 1000000007;
const ll dy[4] = {1, 0, -1, 0};
const ll dx[4] = {0, -1, 0, 1};
int main() {
  ll N, K, S;
  cin >> N >> K >> S;
  for (ll i = 0; i < K; i++) {
    if (i) cout << " ";
    cout << S;
  }
  for (ll i = 0; i < N - K; i++) cout << " " << S + 1;
  cout << endl;
  return 0;
}
