#include <bits/stdc++.h>
using ll = long long;
using namespace std;
const int inf = 1e9;
const ll linf = 1e18;
int main() {
  cin.tie(0);
  ios::sync_with_stdio(false);
  int n, k, s;
  cin >> n >> k >> s;
  for (int i = 0; i < n; i++) {
    cout << (i < k - 1 ? 0 : i == k - 1 ? s : s + 1) << " \n"[i == n - 1];
  }
  return 0;
}
