#include<iostream>
using namespace std;
int main(){
    int n,k,s;
    cin>>n>>k>>s;
    for(int i=0;i<n;i++){
        if(i<k)cout<<s<<" \n"[i==n-1];
        else cout<<(s==1000000000-1?1:1000000000-1)<<" \n"[i==n-1];
    }
    return 0;
}