#include <bits/stdc++.h>
using namespace std;
int main()
{
  int n,k,s;
  cin>>n>>k>>s;
  if(s < 1e9){
  for(int i = 0;i < n;i++)
  {
    if(i < k)
      cout<<s<<" ";
    else
      cout<<s+1<<" ";
  }}
  else if(n == 1e9)
  {
    for(int i = 0;i < n;i++)
    {
      if(i < k)
        cout<<s<<" "'
        else
          cout<<1<<" ";
    }
  }
  return 0;
}