n, k , s = map(int, input().split())
ans = []
for i in range(n):
    if k != 0:
        ans.append(s)
        k -= 1
    else:
      	if s == 10**9:
          ans.append(s-1)
        else if s == 1:
          ans.append(s+1)
        else:
          ans.append(s+1)
print(" ".join([str(x) for x in ans]))
