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

int main(){
  int n, k, s;  cin >> n >> k >> s;
  rep(i,k)
      cout << s << " ";
  rep(i,n-k)
    if(s == 1e9)
      cout << 1 << " ";
    else
      cout << s+1 << " ";
  return 0;
}