N, K, S = map(int, input().split())
A = [0]*N
cnt = 0
for i in range(N):
  A[i] = S
  cnt += 1
  if cnt == K:
    break
for i in range(N):
  if A[i] == 0:
    if S == 10**9:
      A[i] = 1
    else:
      A[i] = 10**9
print(*A)