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)
if s == blank:
    blank = 1

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