from math import floor
N,K,S = map(int,input().split())
if S not in [1,10**9]:
    n = floor(((4*K+1)**0.5-1)/2)
    ans = [1,S-1]*n
    ans = ans+[S]*(K-(n*(n+1))//2)
    ans = ans + [10**9]*(N-len(ans))
elif S==1:
    ans = [1]*K+[10**9]*(N-K)
else:
    ans = [10**9]*K+[1]*(N-K)
print(*ans)