#include<iostream>
#include<algorithm>
#include<stdio.h>
#include<string>
#include<string.h>
#include<queue>
#include<set>
#include<map>
#include<stack>
#include<vector>
#include<cstdlib>
#include<math.h>
#include<cstring>
typedef long long int ll;
using namespace std;
 long long int b[1000100],a[1000100];
int c[1000100];
int main()
{
    long long int s,n,lp=1,m1,n1,n2,nl,m,i,j,k,sum;
    cin>>n>>k>>s;
    for(i=1;i<=k;i++)
        cout<<s<<" ";
    if(s==1e9)
         for(;i<=n;i++)
        cout<<"0"<<" ";
    else
    for(;i<=n;i++)
        cout<<s+1<<" ";
     return 0;
}
