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

kotae = []

if n == k:
    ans = [s]*n
    print(*ans)
    exit()
elif k == 0:
    ans = [s*2]*n
    print(*ans)
    exit()
else:
    ans = [s]*k + [s*10]*(n-k)
    print(*ans)
    exit()
    """
    if s == 1:
        
    if s % 2 == 0:
        ans = [s//2]*(k+1) + [s*10] * (n-k-1)
        print(*ans)
        exit()
    else:
        for i in range(k+1):
            if i % 2 == 0:
                kotae.append(1)
            else:
                kotae.append(s-1)
        kotae += [s*10]*(n-k-1)
        print(*kotae)
        exit()
    """