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