import sys
def input(): return sys.stdin.readline().rstrip()

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

    s20 = S // 2
    s21 = S - s20
    ans = []
    if s20 == s21:
        ans = [s20]
    else:
        ans = [s20, s21]
    for i in range(1, K):
        if s20 - i != 0:
            ans.append(s20-i)
        ans.append(s21+i)
    c = 1
    while N > len(ans):
        ans.append(S + c)
        c += 1
    print(*ans)

if __name__ == '__main__':
    main()
