N,K,S=map(int,input().split())
answers=[S]*K
answers_=[S+1]*(N-K)
answer=''
for k in range(K):
    answer+=str(answers[k])
    answer+=' '
for answer_ in answers_:
    answer+=str(answer_)
    answer+=' '
print(answer)
