#include <iostream>
#include <cstring>
#include <vector>
#include <algorithm>
#include <numeric>
#include <mutex>
#include <cmath>
#include <set>
#include <climits>
#include <math.h>
#define lli long long int
#define ll long long
#define mod 1000000007
#define pii pair<int,int>
#define mp make_pair

#define rep(i, n) for(int i = 0; i < (int)(n); i++)
using namespace std;

int main(){
    ll N, K, S;
    cin >> N >> K >> S;
    ll a = 0;
  	ll X = S+1;
    if(S == 1e9) X = 1;
    rep(i, N){
        if(a == K) {
            cout << X << " ";
            continue;
        }
        a++;
        cout << S << " ";
    	}
    }
    return 0;
}