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