#include <bits/stdc++.h>
#define REP(i,n) for (int i = 0; i < (n); i++)
#define RREP(i, s, n) for (int i = s; i < (n); i++)
#define ALL(a) a.begin(), a.end()
#define RALL(a) a.rbegin(), a.rend()
#define maxs(x,y) x = max(x, y)
#define mins(x,y) x = min(x, y)
using namespace std;
using ll = long long;
typedef pair<int, int> pint;
typedef pair<ll, ll> pll;
const ll MOD = 1000000007;
const ll INF = MOD * MOD;
const int inf = (1<<29);

int main() {

    int N, K, S;
    cin >> N >> K >> S;
    
    for(int i = 0; i < N; i++) {
        if (i < K) cout << S << " ";
        else {
            if (S == 10e9) 
                cout << 1 < " ";
            else 
                cout << S+1 << " ";
        }
    }

    cout << endl;

    //cout << ans << endl;
    return 0;
}