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

namespace atcorder2
{
    class Program
    {
        public static long Read()
        {
            return long.Parse(Console.ReadLine());
        }

        public static long[] Reads()
        {

            return Console.ReadLine().Split().Select(long.Parse).ToArray();
        }

        public static long C(long n, long k)
        {
            long bunbo = 1;
            long bunsi = 1;
            for (long i = n - k; i <= n; i++)
                bunsi *= i;
            for (long i = 1; i <= n - k; i++)
                bunbo *= i;
            return bunsi / bunbo;
        }
        static void Main(string[] args)
        {
            var sw = new StreamWriter(Console.OpenStandardOutput()) { AutoFlush = false };
            Console.SetOut(sw);
            var input = Reads();
            var n = input[0];
            var k = input[1];
            var s = input[2];
            if (s - (n - k) == 0)
            {
                for (int i = 1; i <= n; i++)
                {
                    if (i <= k) Console.Write("{0} ", s);
                    else if (i < n) Console.Write("1 ");
                    else Console.Write(2);
                }
            }
            else
            {
                for (int i = 1; i <= n; i++)
                {
                    if (i <= k) Console.Write("{0} ", s);
                    else  Console.Write("1 ");
                }
            }


      


            Console.Out.Flush();
        }
    }
}