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