N,K,S=map(int,input().split())
List=[]
if S%2 == 0 and K!=N:
  for i in range(K+1):
    List.append(S//2)
  for j in range(K+1,N):
    List.append(S+1)
  print(List)
elif S%2 == 1 and K!=N:
  for i in range(K+1):
    if i%2 == 0:
      List.append((S+1)//2)
    else:
      List.append((S-1)//2)
  for j in range(K+1,N):
    List.append(S+1)
  print(List)
else:
  for i in range(N):
    List.append(S)
  print(List)