#include<bits/stdc++.h>
#define lli long long int
using namespace std;
int main()
{
  lli n,k,s,i;
  cin>>n>>k>>s;
  for(i=1;i<=k;i++)
    cout<<s<<" ";
  for(i=1;i<=(n-k);i++)
  {
    if(s==1000000000)
    	cout<<1<<" ";
    else
      cout<<1000000000<<" ";
  }
  cout<<endl;
}
