a,b,c=list(map(int,input().split()))
def main3(a,b,c):
    s=[]
    for i in range(a):
        if i<=b:
            s.append(c)
        else:
            if c==10**9:
                s.append(1)
            else:
                s.append(c+1)
    print(s," ")
main(a,b,c) 

             
