#include <bits/stdc++.h>
using namespace std;
int main() {
  int N;
  int K;
  long long S;
  cin >> N >> K >> S;
  vector<long long> ans;
  for (int i = 0; i < K; i++) {
    ans.push_back(S);
  }
  for (int i = 0; i < N - K; i++) {
    ans.push_back(S + 1);
  }
  for (int i = 0; i < N; i++) {
    if (i != N - 1) {
      cout << ans[i] << " ";
    } else {
      cout << ans[i] << endl;
    }
  }
  return 0;
}
