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

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

            var ans = new long[n];
            var numS = 0;
            if (n == k)
            {
                for (int i = 0; i < n; i++)
                {
                    ans[i] = s;
                }
            }
            else
            {
                var a = s % 2 == 0 ? s / 2 : s / 2;
                var b = s % 2 == 0 ? s / 2 : s / 2 + 1;
                var c = 0;
                for (int i = 0; i < n; i++)
                {
                    ans[i] = i % 2 == 0 ? a : b;
                    if (i > 0 && i % 2 == 1) numS++;
                    if (i > 0 && a == b && i % 2 == 0) numS++;

                    if (k - numS == 0)
                    {
                        c = i;
                        break;
                    }
                }

                if (s < 1000000000)
                {
                    for (int i = c; i < n; i++)
                    {
                        ans[i] = s + 1;
                    }
                }
                else
                {
                    ans[c - 1]++;

                    var rest = s - ans[c - 1];
                    for (int i = c; i < n - 1; i++)
                    {
                        ans[i] = 1;
                        rest--;
                    }
                    ans[n - 1] = rest;
                }
            }

            Console.WriteLine(string.Join(" ", ans.Select(x => x.ToString()).ToArray()));
        }
    }
}
