Unlucky thiefAlgebra Level 2
A thief stole some mangoes from a garden. On his way back, he ran into the three watchmen of the garden one by one. He gave each of them half the mangoes he had plus 2 more (he met them one after the other). At the end he was left with just 1 mango. How many mangoes did he actually steal?