n,k,s = map(int,input().split())
a=0
b=0
# if s % 2 == 1:
#     a=(s-1)/2
#     b=a+1
# else:
#     a=s/2
#     b=s/2

# # if a==b:
# #     a-=1
# #     b+=1

# a=int(a)
# b=int(b)

list=[]
# while k!=0:
#     if k == 1:
#         list.append(s)
#         k-=1
#     elif k >= 2:
#         list.append(a)
#         list.append(b)
#         k-=1

for i in range(k):
    list.append(s)

if len(list) < n:
    for i in range(n-len(list)):
        list.append(s-1)

for i in list:
    print(i,end=" ")
