#include <bits/stdc++.h>
typedef long long ll;
using namespace std;

int main() {
    int n, k, s;
    cin >> n >> k >> s;
    for (int i=0;i<k;i++) cout << s << " ";
    for (int i=0;i<n-k;i++) {
        if (s==1e9) cout << 1 << endl;
        else cout << s+1 << " ";
    }
    cout << endl;
}