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

namespace AtCoder_20190707_1
{    class Program
    {
        static void Main(string[] args)
        {
            string[] s = Console.ReadLine().Split(' ');

            int N = int.Parse(s[0]);
            int K = int.Parse(s[1]);
            int S = int.Parse(s[2]);

            string answer = "";

            for(int i = 0; i < K; i++)
            {
                answer += S + " ";
            }

            for(int i = K; i < N; i++)
            {
                if (S == 1e9)
                {
                    answer += "1 ";
                }
                else
                {
                    answer += 1e9 + " ";
                }
            }

            Console.WriteLine(answer.Trim());
        }
    }
}