You have behaved VERY badly and end up in prison.

Consistently you also like to smoke, but you only have 10 used pieces of cigarettes !

However, from 3 used pieces, you can make one cigarette and smoke it (after smoking one cigaret you get a used cigarette again). How many cigarettes can you smoke during your long stay in the dungons ?

7 8 9
4 5 6
1 2 3