n , k , s =map(int,input().split())
list=[]
if n == k:
    for i in range(n):
        list.append(s)
    print(*list)
else :
    for i in range(k):
         list.append(s)
    for i in range(n-k):
         list.append(1)
    print(*list)    