There was a magical pond between three temples. If anybody would wash the flowers in that pond,the flowers doubled. So once a person went to a garden, plucked some flowers and washed it in the magical pond and kept some flowers in one temple. After that he went to the pond and washed the remaining number of flowers and kept the exact number of flowers that he kept in the first temple in the second temple.He again washed the remaining no. of flowers and again kept the same no. of flowers he kept in the 1st and 2nd temple in the third temple and he was at last left with 0 flowers.So, what are the no. of flowers he plucked from the garden and what are the no. of flowers he kept in every temple?