#include <bits/stdc++.h>
using namespace std;
const int maxn = 1e5 + 50;
int main() {
  std::ios::sync_with_stdio(false);
  int n, k, s;
  cin >> n >> k >> s;
  for (int i = 0; i < k; i++) cout << s << " ";
  for (int i = k; i < n; i++) cout << 2 * s << " ";
  return 0;
}
