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