#include <bits/stdc++.h>
#define inf 0x3f3f3f3f
#define INF 0x7fffffffffffffff

typedef long long ll;
const double PI=3.1415926535897931;
const long long mod=1e9+7;
const int MA= 1e6+10;
const int ma= 2*1e5+10;
const int few=1e3+10;
const int maxn=1e8+10;
using namespace std;
//////////////////////////////////////////////
int main()
{
    int n, k, s;
    cin >> n >> k >> s;
    for (int i = 0; i < k; i++)
    {
        cout<<s<<' ';
    }
    if(s==1e9)
    {
        for(int i=0; i<n-k; i++)
            cout<<"1"<<' ';
    }
    else
    {
        for(int i=0; i<n-k; i++)
            cout<<s+1<<' ';
    }
    cout<<endl;
    return 0;
}


