#include <bits/stdc++.h>
using namespace std;
using ll = long long;
using vin = vector<int>;
using P = pair<int, int>;
const int inf = 1e9 + 7;
const ll INF = 1e18;
int main() {
  ll n, k, s;
  cin >> n >> k >> s;
  vector<ll> ans(n, inf);
  for (int i = 0; i < (k); i++) {
    ans[i] = s;
  }
  for (int i = 0; i < (n); i++) {
    cout << ans[i] << " ";
  }
}
