N, M, K = map(int, input().split()) lt = [] rt = [] for i in range(N)[::-1]: if K >= i: K -= i lt.append(i) else: rt.append(i) res = lt + rt[::-1] p = res.index(max(res)) d = M - N * (N - 1) // 2 res[p] += d print('\n'.join(map(str, res)))