#import math
lengthNum, countNum, sumNum = map(int, input().split())

aryAns = []
"""
if sumNum == 1 or sumNum % 2 == 0:
    #halfNum = sumNum // 2
    "#""
    tmp = str(halfNum)
    ans = tmp + (" " + tmp) * (countNum-1)
    "#""
    "#""
    loopNum = countNum if countNum < lengthNum else lengthNum
    for _ in range(loopNum):
        aryAns.append(halfNum)
    "#""
    tmp = lengthNum - countNum
    tNum = 2 if sumNum == 1 else sumNum-1
    #aryAns = [halfNum]*countNum + [halfNum-1]*tmp
    aryAns = [sumNum]*countNum + [sumNum-1]*tmp

else:
    halfNum = sumNum / 2
    roundX = lambda x:(x * 2 + 1) // 2
    aryAns.append(math.floor(halfNum))
    aryAns.append(int(roundX(halfNum)))
    if lengthNum > 2:
        aryAns += [sumNum]*(lengthNum-2)
"""

tmp = lengthNum - countNum
tNum = 2 if sumNum == 1 else sumNum-1
aryAns = [sumNum]*countNum + [sumNum-1]*tmp

print(" ".join([str(x) for x in aryAns]))
