#include <bits/stdc++.h>
using namespace std;
const int INF = 1e9;
signed main() {
  int n, k, s;
  cin >> n >> k >> s;
  vector<int> ans(n, INF);
  for (int i = 0; i < (int)(k); i++) ans[i] = s;
  for (auto it : ans) cout << it << " ";
  cout << '\n';
}
