#include <bits/stdc++.h>
#pragma GCC optimize("O3")
using namespace std;
const int mx = 1e9;
int main() {
  int n, k, s;
  cin >> n >> k >> s;
  if (k == 0) {
    for (int i = 0; i < n; i++) cout << mx << " ";
    return 0;
  }
  for (int i = 0; i < k; i++) cout << s << " ";
  for (int i = 0; i < n - k; i++) cout << mx << " ";
  cout << endl;
  return 0;
}
