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

if k==n:
    answer=' '.join(map(str,[s for i in range(n)]))
else:
    first_part=' '.join(map(str,[s for i in range(k)]))
    if s!=10**9:
        second_part=' '.join(map(str,[s+1 for i in range(n-k)]))
    else:
        second_part=' '.join(map(str,[s-1 for i in range(n-k)]))
    answer=first_part+' '+second_part
print(answer)