#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<<endl;
        else if(s==1e9) cout<<s-1<<endl;
        else cout<<s+1<<endl;
    }
}