    #include <bits/stdc++.h>
    #define rep(i,n) for(int i = 0; i < (n); ++i)
    using namespace std;
    typedef long long ll;
     
    int main(){
        ll N,K,S,ans;
        cin >> N >> K >> S;
      	if(K=0){
          rep(i,N)cout << S+1 << endl;
        }else if(S<10e9){
            rep(i,K)cout << S << endl;
            rep(i,N-K)cout << S+1 << endl;
        }else{
            rep(i,K)cout << S << endl;
            rep(i,N-K)cout << 1 << endl;
        }
        return 0;
    }

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

int main(){
    ll N,K,S,ans;
    cin >> N >> K >> S;
  	if(K=0){
      rep(i,N)cout << S+1 << endl;
      return 0;
    }
    if(S<10e9){
        rep(i,K)cout << S << endl;
        rep(i,N-K)cout << S+1 << endl;
    }else{
        rep(i,K)cout << S << endl;
        rep(i,N-K)cout << 1 << endl;
    }
    return 0;
}

