#include <bits/stdc++.h>
using ll = long long;
constexpr int inf = 1e9 + 7;
constexpr ll infll = 1ll << 60ll;
constexpr ll mod = 1e9 + 7;
constexpr int dx[] = {1, 0, -1, 0, 1, 1, -1, -1};
constexpr int dy[] = {0, -1, 0, 1, 1, -1, -1, 1};
template <typename T>
void chmax(T& a, T b) {
  a = std::max(a, b);
}
template <typename T>
void chmin(T& a, T b) {
  a = std::min(a, b);
}
template <typename T>
void chadd(T& a, T b) {
  a = a + b;
}
namespace {
ll gcd(ll a, ll b) {
  if (b == 0) return a;
  return gcd(b, a % b);
}
ll lcm(ll a, ll b) { return a / gcd(a, b) * b; }
}  // namespace
int main() {
  ll n, k, s;
  std::cin >> n >> k >> s;
  for (int i = 0; i < n - k; ++i) {
    if (s == 1000000000)
      std::cout << s - 1 << " ";
    else
      std::cout << s + 1 << " ";
  }
  for (int i = 0; i < k - 1; ++i) {
    std::cout << s << " ";
  }
  std::cout << s << std::endl;
  return 0;
}
