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