# coding: utf-8
import math
n, k, s = map(int,input().split())
#T = list(map(int,input().split()))
A = [str(s)] * k
if s==1:
    A += ["2"] * (n-k)
else:
    A += ["1"] * (n-k)
    
print(' '.join(A))