#include <bits/stdc++.h>
using namespace std;
int main() {
  ios::sync_with_stdio(0);
  cin.tie(0);
  cout.tie(0);
  int n, k, s;
  cin >> n >> k >> s;
  vector<int> r;
  for (int i = 0; i < k; i++) {
    r.push_back(s);
  }
  for (int i = k; i < n; i++) {
    r.push_back(2 * s);
  }
  for (auto x : r) cout << x << " ";
  cout << endl;
  return 0;
}
