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

class Program
{
    static void Main(string[] args) {
#if DEBUG
        //MyDebugger.MakeTestCase("../TextFile2.txt"); return;
        MyDebugger.Test(process, "../TextFile1.txt");
#else
        object ret = process(new StreamReader(Console.OpenStandardInput()));
        Console.WriteLine(ret);
#endif
    }


    static object process(TextReader input) {
        var spl   = input.ReadLine().Split(' ');
        var n     = int.Parse(spl[0]);
        var k     = int.Parse(spl[1]);
        var s     = long.Parse(spl[2]);
        
        long z = s+1;

        var buil = new StringBuilder();

        for(int i=0; i<n; i++) {
            if (k > 0) {
                buil.Append(s);
                k--;
            } else {
                buil.Append(z);
            }
            buil.Append(' ');
        }

        return buil.ToString();
    }
}
