# coding: utf-8
import re
import math
#import numpy as np

mod=int(10**9+7)

#main
N,K,S=map(int,input().split())
A=[]
for a in range(N):
    if a<K:
        A.append(S)
    else:
        if(S<10**9):A.append(S+1)
        else: A.append(1)
print(A)