#-------------------------------------------------------------------
import sys
def p(*_a):
  _s=" ".join(map(str,_a))
  #print(_s)
  sys.stderr.write(_s+"\n")
#-------------------------------------------------------------------
n,k,s= map(int, input().split())

A=[s+1]*n

for i in range(k):
	A[i]=0

A[0]=s

print(A)
