#!/usr/bin/env python3
import sys


def solve(N: int, K: int, S: int):
    answer = []
    if S != 10**9:
        answer += [S]*K
        answer += [10**9]*(N-K)
    else:
        answer += [S]*K
        answer += [10**8+1]*(N-K)  
    print(answer)

    return


def main():
    def iterate_tokens():
        for line in sys.stdin:
            for word in line.split():
                yield word
    tokens = iterate_tokens()
    N = int(next(tokens))  # type: int
    K = int(next(tokens))  # type: int
    S = int(next(tokens))  # type: int
    solve(N, K, S)

if __name__ == '__main__':
    main()
