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

    ans = []
    for _ in range(K):
        ans.append(str(S))

    for _ in range(N - K):
        ans.append(str(S - 1))

    print(" ".join(ans))


main()
