import math


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


print(n,k,s)

for i in range(k):
    print(s,end=" ")


blank = pow(10,9)-1
if s == blank:
    blank = 1

for i in range(k,n):
    text = " "
    if  i == n-1:
        text = ""
    print(blank,end=text)
print()