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 = n + 1 - k;
            int num =  s / c;
            int 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(' ');
            }
          
        } 
    }