There were three magical ponds in the compound of a famous temple of three deities.
The magic of those magical ponds were that if you dip lotuses into the each pond,
The number of lotuses will get doubled.
One day a small boy went to the temple with some number of lotuses.
He dipped the entire lotuses into the first pond and it got doubled.
He kept some of them in the front of the first deity.
He took the remaining lotuses to the second pond and dipped the entire lotuses into the pond.
It again got doubled.
He kept some of them in the front of the second deity.
He took the remaining lotuses to the third pond and dipped the entire lotuses into the pond.
It again got doubled.
He kept all the remaining lotuses in the front of the third deity.
The numbers of flowers kept in the front of all the three deities were SAME.
Tell me How many lotuses did the boy took to the temple and How many lotuses did he keep in front of those deities?
