#include <bits/stdc++.h>
using namespace std;
const long long inf = 1000000007;
int main() {
  long long n, k, s;
  cin >> n >> k >> s;
  vector<long long> ans(n);
  if (k >= 1) {
    ans[0] = s;
    for (int i = 1; i < (int)k; i++) ans[i] = 0;
    for (int i = k; i < (int)n; i++) ans[i] = s + 1;
    for (int i = 0; i < (int)n - 1; i++) cout << ans[i] << " ";
    cout << ans[n - 1] << endl;
  } else {
    for (int i = 0; i < (int)n; i++) ans[i] = s + 1;
    for (int i = 0; i < (int)n - 1; i++) cout << ans[i] << " ";
    cout << ans[n - 1] << endl;
  }
}
