Alongside being a palindrome, Nadan is also a successful businessman who finances young software developers when they start working on their projects. This year, he decided to distribute
Write a program which will, for a given
Input Specification
The first line contains a positive integer
The second line contains a positive integer
Output Specification
For a chosen money distribution, output the amount of money the first project will get in the first line, the amount of money the second project will get in the second line and so on until the
Scoring
In cases worth
If your solution outputs a distribution where all projects didn't get a different amount of kunas, you will get
Sample Input 1
100
5
Sample Output 1
10
30
20
5
35
Sample Input 2
200
1
Sample Output 2
200
Sample Input 3
100
4
Sample Output 3
21
36
12
31
Comments