#include <bits/stdc++.h>
using namespace std;
using ll = long long;
using pii = pair<int, int>;
using pll = pair<ll, ll>;
int main() {
  int n, k, s;
  cin >> n >> k >> s;
  vector<int> ans(n);
  for (int((i)) = (0); ((i)) < ((k)); ((i))++) ans[i] = s;
  for (int(i) = (k); (i) < (n); (i)++) ans[i] = min(1000000000, s + 1);
  for (int((i)) = (0); ((i)) < ((n)); ((i))++)
    cout << (i == 0 ? "" : " ") << ans[i];
  cout << endl;
  return 0;
}
