import sys
def input():
    return sys.stdin.readline()[:-1]
mod=10**9+7
n,k,s=map(int,input().split())
a=10**9
# half1=s//2
# half2=(s+1)//2
li=[]
for i in range(n):
    if i<k:
        li.append(s)
    else:
        li.append(a)
print(*li)