#include <bits/stdc++.h>
using namespace std;
using ll = long long;
constexpr ll MOD = 1e9 + 7;
constexpr int INF = 1 << 30;
ll h, w;
ll n, k, s;
int main() {
  ios::sync_with_stdio(false);
  cin.tie(0);
  cin >> n >> k >> s;
  vector<ll> a(n);
  for (int i = k - 1; i < n; ++i) a[i] = s;
  for (int i = 0; i < n; ++i) cout << a[i] << '\n';
  return 0;
}
