An algebra problem by Harsh PalanAlgebra Level 2
One person has some money in his pocket, He visits four temple on the way. As soon as he enters each of the temple, his money gets double automatically. He offers Rs. 100 in each temple. Thus his pocket gets empty after he returns from the fourth temple. How much money he had initially?