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