#include <bits/stdc++.h>
using ll = long long;
const ll mod = 1000000007;
const ll infi = 1000000000000000;
const ll md = 998244353;
using namespace std;
using vl = vector<ll>;
using pll = pair<ll, ll>;
void solve() {
  int n, s, k;
  cin >> n >> k >> s;
  vl a(n);
  for (int i = 0; i < k; i++) {
    a[i] = s;
  }
  for (int i = k; i < n; i++) {
    a[i] = s / 2 + 1;
  }
  for (int i = 0; i < n; i++) {
    cout << a[i] << " ";
  }
  cout << endl;
}
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(NULL);
  solve();
  return 0;
}
