def main():
    n, k, s = list(map(int, input().split()))

    ans = [0] * n
    for i in range(k):
        ans[i] = s
    stack = 0
    for i in range(k, n):
        if stack + 1 == s:
            stack = 0
            ans[i] = 10 ** 9
        else:
            stack += 1
            ans[i] = 1
    print(ans)

if __name__ == "__main__":
    main()