#include <bits/stdc++.h>
using namespace std;
using ll = long long;
vector<ll> v;
ll N, K, S;
int main() {
  cin >> N >> K >> S;
  v.resize(N);
  v[0] = S - 1;
  v[N - K] += 1;
  for (int i = 0; i < N - 1; i++) {
    cout << v[i] << " ";
  }
  cout << v[N - 1] << endl;
  return 0;
}
