import sys
input = sys.stdin.readline


def main():
    N, K, S = [int(x) for x in input().split()]

    ans = []
    for i in range(K):
        ans.append(S)
    for i in range(N - K):
        ans.append(S + 1)

    print(*ans)



if __name__ == '__main__':
    main()

