#include <bits/stdc++.h>

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 = k; i < n; i++)
        cout << (s == (int)1e9 ? 1 : (int)1e9) << " ";
    cout << endl;
}