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

namespace ConsoleApp50 {
    class Program {
        static void Main(string[] args) {
            var st = Console.ReadLine().Split(' ').Select(int.Parse).ToArray();

            int N = st[0];
            int K = st[1];
            int S = st[2];

            int[] ans = new int[N];

            for (int i = 0; i < N; i++) {
                if (i < K) {
                    ans[i] = S;
                } else {
                    ans[i] = S + 1;
                }

            }

            Console.WriteLine(string.Join(" ", ans));

        }
    }
}
