-- nr. initial de portocale = x a dat i-au ramas
-- paznjc I x/2 +2 x - (x/2+2) = x/2 - 2
-- paznic II 1/2(x/2 - 2) +2 = x/4 +1 x/2 -2 - (x/4+1) = x/4 - 3
-- paznic III 1/2(x/4 - 3) + 2 = x/8 +1/2 x/4 - 3 - (x/8 + 1/2) = x/8 - 7/2
x/8 - 7/2 =1 ]×8 ⇒ x - 28 =8 ⇒ x = 36