using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp15
{
    class Class3
    {
        static void Main()
        {
            var NKS = Console.ReadLine().Split().Select(int.Parse).ToArray();
            int N = NKS[0], K = NKS[1], S = NKS[2];
            int gomi = S / 2 + 1;
            int[] A = new int[N];
            for (int i = 0; i < N; i++) A[i] = gomi;

            for (int i = 0; i < K; i++) A[i] = S;

            Console.WriteLine(string.Join(" ", A));
        }
    }
}
