N, K, S = map(int, input().split())
l = [0 for i in range(N)]

for i in range(K):
  l[i] = S
  if N != K:
    if S != 1000000000:
      for j in range(K,N):
        l[j] = 1000000000
    else:
      for j in range(K,N):
        l[j] = 999999999
  
', '.join(map(str, l))
print(l)