N, K, S = map(int,input().split())


if S<1000000000:
    L1=[S for i in range(K)]
    L2=[(S+1) for i in range(N-K)]
    L=L1+L2
    print(' '.join(map(str, L)))

else:
    L1=[S]
    L2=[0 for i in range(K-1)]
    L3=[1 for i in range(N-K)]
    L=L1+L2+L3
    print(' '.join(map(str, L)))