There is a mango garden with 7 gates and every gate has a gatekeeper. Narender have to bribe every single gatekeeper to enter the garden. So the rules of bribing are:-
1. Narender should give half of all of his mangoes to gatekeeper.
2. Then gatekeeper should return exactly 1 mango back to him.
this process should be followed with every gatekeeper one by one and there shouldn't be any cutting or slicing of mangoes.
<bold>when he gets out of every gate with bribing every one of gatekeeper then he gets only 2 mangoes with him. So how many mangoes did he collect in the garden?? <
Example:- If he collect 10 mangoes then he should give 5 mangoes to gatekeeper 1 and get 1 mango back. So he gets 6 mangoes with him after gate 1. then he goes to 2nd gate and give 3 mangoes to 2nd gatekeeper and get 1 mango back. So after 2 gates he gets 4 mangoes with him. So this process continues with each and every 7 gates.