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