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