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

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

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