#include <bits/stdc++.h>
using namespace std;
constexpr int64_t INF = 1000000000;
int main() {
  std::cin.tie(0);
  std::ios::sync_with_stdio(false);
  int32_t N, K, S;
  cin >> N >> K >> S;
  vector<int> res(N, INF);
  for (int i = 0; i < K; i++) {
    res[i] = S;
  }
  for (auto val : res) {
    cout << val << " ";
  }
  cout << endl;
  return 0;
}
