using System;
using System.Linq;
using System.Collections.Generic;

class ProgramC
    {
        static void Main(string[] args)
        {
            
            //入力
            string[] input = Console.ReadLine().Split(' ');
            int n = int.Parse(input[0]);
            int k = int.Parse(input[1]);
            int s = int.Parse(input[2]);

            int c = 0;
            int num = 0;
            int amari = 0;


            if(n <= s)
            {
            c = n + 1 - k;
            num =  s / c;
            amari = s % c;

            for(int i = 0;i < n;i++)
            {
                if((i + 1) % c == 0)
                    Console.Write(num + amari);
                else
                    Console.Write(num);

                Console.Write(' ');
            }
            }
            else
            {
                c = s + 1 - k;
                num =  s / c;
                amari = s % c;

            for(int i = 0;i < n;i++)
            {
                if(i >= s)
                    Console.Write(s + 1);
                if((i + 1) % c == 0)
                    Console.Write(num + amari);
                else
                    Console.Write(num);
                
                Console.Write(' ');
            }
                
            }


            
            
          
        } 
    }