input
6 10 8 5 3 9 45
output
0 0 0 0 3 5
7 16 4 6 3 2 18 15
0 0 1 0 0 5 5
There are no comments at the moment.
Comments