def main():
    import sys
    N,K,S=list(map(int,sys.stdin.readline().split()))
    if S==10**9:
        output=[1]*N
    else:
        output=[10**9]*N
    
    if N==K:
        output=[S]*N
        print(' '.join(map(str,output)))
        return
    a=S//2
    if S%2==1:
        b=S//2+1
    else:
        b=S//2

    flag=False
    for i in range(K+1):
        if i%2==0:
            flag=True
            output[i]=a
        else:
            flag=False
            output[i]=b

    print(' '.join(map(str,output)))    



main()