#include <bits/stdc++.h>
using namespace std;
inline void IN(void) { return; }
template <typename First, typename... Rest>
void IN(First& first, Rest&... rest) {
  cin >> first;
  IN(rest...);
  return;
}
inline void OUT(void) {
  cout << "\n";
  return;
}
template <typename First, typename... Rest>
void OUT(First first, Rest... rest) {
  cout << first << " ";
  OUT(rest...);
  return;
}
constexpr int INF = (1 << 30);
constexpr long long INFLL = 1LL << 62;
constexpr long double EPS = 1e-12;
constexpr long long MOD = (long long)((1E+9) + 7);
int main() {
  long long N, K, S;
  IN(N, K, S);
  for (long long i = (long long)0; i < (long long)K; ++i) printf("%lld ", S);
  for (long long i = (long long)0; i < (long long)N - K; ++i)
    printf("%lld ", S + 1);
  printf("\n");
  return 0;
}
