#include <bits/stdc++.h>
using namespace std;
const long long MOD = 1e9 + 7;
int main() {
  std::ios::sync_with_stdio(false);
  std::cin.tie(0);
  long long N, K, S;
  cin >> N >> K >> S;
  for (long long n = 0; n < K; n++) {
    cout << S;
    if (n != N - 1) cout << " ";
  }
  for (long long n = 0; n < N - K; n++) {
    cout << 2 * S;
    if (n != N - 1) cout << " ";
  }
  cout << "\n";
  return 0;
}
