using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;

namespace MyProject
{
    class Program
    {
        static void Main(string[] args)
        {
#if Local
            var sw = new Stopwatch();
            sw.Start();
            Console.SetIn(new StreamReader("input.in"));
#endif

            var solver = new Solver();
            solver.Solve();
#if Local
            Console.WriteLine($"{sw.ElapsedMilliseconds}ms");
#endif
        }
    }

    class Solver
    {
        public void Solve()
        {
            var item = Console.ReadLine().Split().Select(elem => int.Parse(elem)).ToArray();
            var N = item[0];
            var K = item[1];
            var S = item[2];

            var list = Enumerable.Range(0, N)
                .Select(i =>
                {
                    var other = S == 1000000000 ? 1 : S + 1;
                    if (i < K)
                    {
                        return S;
                    }
                    else
                    {
                        return other;
                    }
                })
                .ToList();

            Console.WriteLine(string.Join(' ', list));
        }
    }
}
