#include <bits/stdc++.h>
#include <boost/range/algorithm.hpp>
#include <boost/range/numeric.hpp>
#include <boost/range/irange.hpp>
#include <boost/range/adaptor/indexed.hpp>

using namespace std;
using namespace boost::adaptors;
using namespace std::string_literals;
using ll = int64_t;
using vecint = vector<int>;
using vecll = vector<ll>;
using boost::irange;

int main()
{
  int n,k,s;
  cin>>n>>k>>s;
  for(auto&& i:irange(0,k)) {
    if(i) cout<<' ';
    cout<<s;
  }
  for(auto&& i:irange(k,n)) {
    if(i) cout<<' ';
    cout<<2*s;
  }
  cout<<endl;
  return 0;
}
