#include <bits/stdc++.h>
using namespace std;
using ll = long long;
constexpr ll INF = 1010000000000000017LL;
ll GCD(ll a, ll b) {
  if (b == 0)
    return a;
  else
    return GCD(b, a % b);
}
ll LCM(ll a, ll b) { return a / GCD(a, b) * b; }
class CSubarraySum {
 public:
  void solve(std::istream& in, std::ostream& out) {
    ll n, k, s;
    in >> n >> k >> s;
    for (ll i = 0; i < (ll)(k); i++) out << s << ' ';
    if (s == pow(10, 9))
      for (ll i = 0; i < (ll)(n - k); i++) out << 1 << ' ';
    else
      for (ll i = 0; i < (ll)(n - k); i++) out << s << ' ';
  }
};
int main() {
  CSubarraySum solver;
  std::istream& in(std::cin);
  std::ostream& out(std::cout);
  solver.solve(in, out);
  return 0;
}
