N, K, S = map(int, input().split())

import math
a_tmp1 = math.floor(S/2)
a_tmp2 = math.ceil(S/2)

a = []
if N == K:
  a = [S]*N # all S

if N == S:
  a = [1]*N # all 1

for i in range(N):

  if K < i:
    a.append(a_tmp2+1)
  elif i % 2 == 0:
    a.append(a_tmp1)
  else:
    a.append(a_tmp2)

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