#include<bits/stdc++.h>
using namespace std;
const int N=1e9;
int main()
{
  int n,k,s;
  cin>>n>>k>>s;
  for(int i=0;i<k;i++)
  {
    cout<<s<<" ";
  }
  for(int i=k;i<n;i++)
    if(s!=N)
    cout<<s+1<<" ";
  	else
      cout<<s-1<<" ";
}