#include <bits/stdc++.h>
using namespace std;
int main() {
  ios::sync_with_stdio(0);
  cin.tie(0);
  int n, k, s;
  cin >> n >> k >> s;
  for (int i = 0; i < n; ++i) {
    if (i < k) {
      cout << s << " ";
    } else {
      cout << 0 << " ";
    }
  }
  cout << "\n";
  return 0;
}
