#P7303. [COCI 2018/2019 #1] Nadan

[COCI 2018/2019 #1] Nadan

Description

Nadan is a successful businessman. He often invests in software developers.

This year, he decided to distribute KK kuna (Croatian currency) to NN projects, such that each project receives at least 11 kuna, and the amounts received are pairwise distinct and all are positive integers. The testdata guarantees that such a distribution always exists.

Input Format

The first line contains a positive integer KK.

The second line contains a positive integer NN.

Output Format

Output NN lines in total. The ii-th line should contain the amount allocated to the ii-th project.

100
5
10
30
20
5
35
200
1
200
100
4
21
36
12
31

Hint

Constraints

For 50%50\% of the testdata, N=5N = 5.

For 100%100\% of the testdata, 100K106100 \le K \le 10^6, 1N1001 \le N \le 100.

Scoring

If, for a test case, there exist equal allocated amounts but the total sum is correct, then you can get 33 points out of the full 55 points for that test case.

This problem uses an unofficial self-written Special Judge, which can also be obtained in the attachments. Because of the Special Judge, please add a newline after the last number in your output. Hacks are welcome (you may send a private message or post directly).

Notes

The score for this problem follows the original COCI problem setting, with a full score of 5050.

Translated from COCI2018-2019 CONTEST #1 T1 Nadan.

Translated by ChatGPT 5