from math import ceil


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


if __name__ == '__main__':
    main()

