Riana baked a round pie in preparation for her birthday party. After baking the pie, she thought that it would be boring to simply give the pie evenly across everyone attending her party. After some thought, she came up with the idea of using the pie in a game for the party goers.
In her game, each person attending the party will each take only one turn.
One full turn goes like this:
For example, if four people Mathil, Quin, Octavian, and Velyna attend the party:
But wait! this is wrong! Riana's household has a strict 'no leftovers' policy, so she wants 100% of the pie to get eaten!
Riana is also an advocate of equality, so she wants to distribute the pie slices such that the difference between the biggest slice and the smallest slice is minimized.
However, Riana is also secretly lazy, so she enlisted the help of her friend, you! Help her figure out the optimal percentage each person should take.
The input will contain one line containing a single integer $$$N$$$, the number of people going to the party.
The value $$$N$$$ is guaranteed to be between $$$1$$$ and $$$10^{3}$$$.
Output contains $$$N$$$ lines.
The $$$i$$$th line of the output must contain the percentage of the pie which the $$$i$$$th person to take slices should take. (The first person's percentage should be on the first line, the second should be on the second line, the third should be on the third line, etc.)
Answers will be accepted if they are within $$$10^{-4}$$$ away from the correct answer.
1
100.0000
In the sample test case, since the first person is the only person in the party (quite sad), he takes the whole cake.
This satisfies the two conditions that Riana wanted to satisfy:
Name |
---|