import java.util.*;
public class Main{
 public static void main(String[] args){
   Scanner sc = new Scanner(System.in);
 
   int N = sc.nextInt();
   int K = sc.nextInt();
   int S = sc.nextInt();
   
   for(int i=0;i<K;i++)
   {
     System.out.print(S+ " ");
   }
   int pr = S-1;
   if(N==1000000000) pr =1; 
   for(int i=K;i<N;i++)
   {
     System.out.print(pr + " ");
   }
   System.out.print();
 }
}