Tower#9545

Tower

1 second
64 megabytes
Medium

Inspired by the legend of the Tower of Babel, Petro decided to construct a similar structure in his room. He used children's building bricks, selected a base size of , and aimed for a tower height of . He also decided that the size of each successive level could differ from the previous one by no more than one brick. The tower shown in the picture satisfies Petro's criteria, with a base size of , a height of , and a total of bricks.

5deaa8b30f7295e0ba40346603f7d053.jpg

Input

Three integers , , (in that order), separated by spaces; 1 \leq W \leq 1000, 1 \leq D, H \leq 30.

Output

If a tower can be constructed that meets Petro's requirements, output numbers representing the number of bricks on each level, starting from the bottom. If no such tower can be built, output .

Examples

\begin{example}\exmp{22 2 8}{2 2 3 3 3 3 3 3}%\exmp{20 2 8}{0}%\end{example}

Example 1

Loading
Loading