n,k,s = map(int,input().split())

if s < 10**9:
    if k == n:
        for i in range(n-1):
            print(s, end = ' ')
        print(s)
    else:
        for i in range(k):
            print(s, end = ' ')
        for i in range(n-k-1):
            print(s+1, end = ' ')
        print(s+1)
else:
    if k == n:
        for i in range(n-1):
            print(s, end = ' ')
        print(s)
    else:
        for i in range(k-1):
            print(s, end = ' ')
        print(s-n+k, end = ' ')
        for i in range(n-k-1):
            print(1, end = ' ')
        print(1)
