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

  int N ,K ,S ;
  cin >> N >> K >> S ;
  rep(i,K) cout << S << endl;
  if(S-1>0) rep(i,N-K) cout << S-1 << endl;
  else rep(i,N-K) cout << S+1 << endl;

}