#!/usr/bin/env python3
import sys


def solve(N: int, K: int, S: int):
    if N==K:
        print(' '.join([str(S) for _ in range(K)]))
    else:
        a = ' '.join([str(S) for _ in range(K)])
        b = ' '.join([str(10**10) for _ in range(N-K-1)])
        c = str(10**10)
        print(a + ' ' + b + ' ' + c)
    return


# Generated by 1.1.6 https://github.com/kyuridenamida/atcoder-tools  (tips: You use the default template now. You can remove this line by using your custom template)
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()
