Isabel has some money in her piggy bank. She spent half the amount and bought a toy. She then spent half of the remaining money and bought her brother a book. If she has $51 left, how much money, in dollars, did she have at first?
After buying the toy, Isabel has 51*2=
<gadget id="calculator">51*2</gadget>
<output>102</output>
102 dollars left.
Isabel had 102*2=
<gadget id="calculator">102*2</gadget>
<output>204</output>
204 dollars at first.

<result>204</result>