#include <bits/stdc++.h>
using namespace std;
using llong = long long;
llong n, k, s;
int main() {
  cin >> n >> k >> s;
  for (int i = 0; i < k; i++) {
    cout << s << ' ';
  }
  for (int i = 0; i < n - k; i++) {
    cout << s + 1 << ' ';
  }
  cout << endl;
  return 0;
}
