#include <bits/stdc++.h>
using namespace std;
using ll = long long;
#define rep(i, n) for (int i = 0; i < (n); i++)

int main() {
    int n, k, s;
    cin >> n >> k >> s;
    
    rep(i, k) {
        cout << s << " ";
    }
    int sub = (s == 123 ? 100 : 123)
    rep(i, n - k) {
        cout << sub << (i == n - k - 1 ? "\n" : " ");
    }
}