N,K,S=map(int,input().split())
A=[]
if S!=1:
  for i in range(K):
    A.append(S)
  for i in range(N-K):
    A.append(1)
  print(*A)
else:
  for i in range(K):
    A.append(1)
  for i in range(N-K):
    A.append(2)
  print(*A)