n,k,s = map(int,input().split())
x = [0]*n
cnt = 1
for i in range(n):
    if i < k:
        x[i] = s
    else:
        if x[i] != 10**9:
            x[i] = s+1
        else:
            x[i] = 1
            
for i in range(n-1):
    print(x[i],end=" ")
else:
    print(x[i+1])