n, k, s = map(int, input().split())

if s==1 or s==2:
    for i in range(1, n+1):
        if i <= k:
            print('{}'.format(s), end=' ')
        else:
            print('{}'.format(s+10), end=' ')
exit()

for i in range(1, n+1):
    if i <= k:
        print('{}'.format(s), end=' ')
    else:
        print('{}'.format(s-1), end=' ')