import sys
read = sys.stdin.read
readlines = sys.stdin.readlines
def main():
    """
    sum[Al,,,Ar] = Sの部分和がちょうどK個。
    """
    n, k, s = map(int, input().split())
    if n == k:
        r = [s] * k
    else:
        if s != 1:
            r = [s] * (k - 1) + [s - 1] * 1 + [1] * (n - k)
        else:
            r = [1] * k + [100] * (n - k)
    print(*r, sep=' ')

if __name__ == '__main__':
    main()