n,k,s = map(int, input().split())
ans = []
if s*k >= 10**9:
  x = s//2
  y = s-x
  for _ in range(k):
    ans += [x,y]
  if len(ans)<n:
    for _ in range(n-len(ans)):
      ans.append(1)
else:
  ans = [s for _ in  range(k)]
  for _ in range(n-k):
    ans.append(s+1) 
print(ans)