N ,K ,S= map(int, input().split())

# Sが偶数の時
if S % 2 == 0:
    m = S // 2
    if N - K == 0:
        ans = [S]*N
    elif N - K == 1:
        ans = [m]*N
    else:
        wrong = N-K-1
        ans = [m-1]*wrong
        for _ in range(N-wrong):
            ans.append(m)

# Sが奇数の時
else:
    num_down = S // 2
    num_up = -(-S // 2)
    if N - K ==0:
        ans = [S] * N
    elif N -K == 1:
        ans = []
        for i in range(N):
            if i % 2 == 0:
                ans.append(num_down)
            else:
                ans.append(num_up)
    else:
        wrong = N-K-1
        ans = [num_up+2]*wrong
        for i in range(N-wrong):
            if i % 2 == 0:
                ans.append(num_down)
            else:
                ans.append(num_up)
        
print(ans)