#include <bits/stdc++.h>
using namespace std;
int main() {
  int N, K, S;
  cin >> N >> K >> S;
  vector<int> ans(N);
  for (int i = 0; i < (int)(K); i++) {
    ans[i] = S;
  }
  for (int i = (int)(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;
}
