def main():
    length, sum_num, subarray_sum = map(int, input().split())
    base_length = length - sum_num + 1
    base_array = [subarray_sum // base_length] * (base_length - 1)
    base_array += [subarray_sum - sum(base_array)]
    print(" ".join(map(str, (base_array * (length // base_length + 1))[:length])))


if __name__ == '__main__':
    main()

