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


class Program
{
    static void Main(string[] args)
    {
        // 入力
        //var s = Console.ReadLine();
        //var n = int.Parse(Console.ReadLine());
        long[] nks = Console.ReadLine().Split().Select(long.Parse).ToArray();
        var n = nks[0];
        var k = nks[1];
        var s = nks[2];

        long count = 0;
        long[] ans = new long[n];
        for (int i = 0; i < n; i++)
        {
            if (count < k)
            {
                ans[i] = s;
                count++;
            }
            else
            {
                ans[i] = s + 1;
            }
        } 

        for (int i = 0; i < n; i++)
        {
             Console.Write(ans[i] + " ");
        }
    }
}