#-------------------------------------------------------------------
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

a=s//2
b=s-a

for i in range(k+1):
	if i%2==0:
		A[i]=a
	else:
		A[i]=b


print(A)
