#include <iostream>

using namespace std;

int main() {
    ios::sync_with_stdio(false);
    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 == 1000000000 ? 1 : s + 1) << (i == n - 1 ? '\n' : ' ');
    return 0;
}
