Joan went to a store,spent half of her money and then spent 100 pesos. She to a second store spent half of her remaining money andthen spent 100 pesos more. She went to a third store, spent half of her remaining money and then spent 100 pesos more.Then she had no more money left. How much money did she had in the beginning when she went to the first store?