
There is a game board with $$$n$$$ holes arranged in a long row. These holes are numbered from $$$1$$$ to $$$n$$$ from left to right. Initially the $$$i$$$th hole contains $$$a_i$$$ stones. Note that this setup differs from the usual Congklak game, where the game board consists of two rows and one large hole at each end.
Now Bill will play $$$t$$$ games where each game goes as follows:
Bill starts the game at the first hole, holding one new stone in his hand. He then moves along the game board from hole $$$1$$$ to hole $$$n$$$. At each hole $$$i$$$, he first checks how many stones are currently in the hole, and depending on the result he performs exactly one of the following two actions:
Bill challenges Alice to predict in advance the number of stones in every hole after playing exactly $$$t$$$ games. Note that the game board is not reset after playing a game, i.e. the initial configuration of the second game is the same as the configuration when the first game ends.
The input consists of:
Output $$$n$$$ integers, the $$$i$$$th of which is the number of stones in hole $$$i$$$ after playing $$$t$$$ games.
7 11 3 2 0 1 0 5
0 4 0 1 2 1 5
4 41000000000000 1 2 3
1 3 0 5
In the first sample, Bill plays exactly one game. The figure below visualizes the steps performed during this game.
In the second sample, the initial number of stones per hole is $$$[1000000000000, 1, 2, 3]$$$. The number of stones per hole after each game is:
| Name |
|---|


