#include <bits/stdc++.h>
using namespace std;
signed main() {
  long long n, k, s;
  cin >> n >> k >> s;
  for (long long i = 0; i < (n); i++) {
    if (i) cout << ' ';
    if (i < k) cout << 0;
    if (i == k) cout << s;
    if (i > k) cout << (s + 1) % 1000000000;
  }
  cout << ""
       << "\n";
}
