------ ------ ------ ------- suma totala
1 ------
----- ----- ----- ---- rest1
2 -----
----- ----- ---- rest2
3 -----
----- ----- =72 ramas
72 :2 =36lei (3) 72+36=108 (rest 2 ) 108: 3=36 lei (2)
108+36=144 (rest 1 din suma totala) 144:3=38 (1)
38+36+36+72= 182lei in total