n,k,s = map(int,input().split())
if s == 1:
    a = [1 for _ in range(k)] + [10**9-1 for _ in range(n-k)]
    print(*a)
else:
    a = [s-1]
    now = s-1
    for i in range(k):
        now = s - a[-1]
        a.append(now)
    if s == 10**9:
        for i in range(n-k-1):
            a.append(10**9-2)
    else:
        for i in range(n-k-1):
            a.append(10**9-1)
    print(*a)