#include <iostream>
#include <string>

using namespace std;

int main() {
    long int n,k,s;
    cin >> n >> k >> s;
    long int a[n] = {};
    
    for(int i = 0; i < n; i++) {
        if(a[i] == 0) {
            a[i] = 1;
        }
        if(i <= (k-1) && s % 2 == 0) {
            a[i] = s/2;
            a[i+1] = s/2;
        }
        if(i <= (k-1) && s % 2 == 1) {
            a[i] = (s-1)/2;
            a[i+1] = (s+1)/2;
        }
    }
    
    for(int i = 0; i < n; i++) {
        cout << a[i] << " ";
    }
    return 0;
}

