#include <bits/stdc++.h>
using namespace std;
void solve(void);
void solve(void) {
  int n, m, sum;
  cin >> n >> m >> sum;
  for (auto i = 0; i < m; ++i) {
    cout << sum << " ";
  }
  for (auto i = 0; i < n - m; ++i) {
    cout << (sum / 2 + 2) << " ";
  }
  return;
}
int main() {
  cin.tie(0);
  ios::sync_with_stdio(false);
  solve();
  return 0;
}
