There stand nine temples in a row in a holy place.
All the nine temples have 100 steps climb.
A fellow devotee comes to visit the temples.
He drops a Re. 1 coin while climbing each of the 100 steps up.
Then he offers half of the money he has in his pocket to the god.
After that, he again drops Re. 1 coin while climbing down each of the 100 steps of the temple.
If he repeats the same process at each temple,
he is left with no money after climbing down the ninth temple.
Can you find out the total money he had with him initially?