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

    arr = [] 
    for i in range(0, K):
        arr += [S]
    while len(arr) < N:
            arr += [S-1]

    print(' '.join(map(str,arr)))

if __name__ == "__main__":
    main()
