Lorie has 2 pieces of $100 bills. He requested to change one piece of the $100 bills into $50 bills. Half of the remaining $100 bill is changed to $10 bills while the rest is changed to $5 bills. How many pieces of bills will she have?
There will be $100/$50 = 
<gadget id="calculator">100/50</gadget>
<output>2</output>
2 pieces of $50 when $100 is changed to $50 bills.
Half of $100 is $100/2 = $
<gadget id="calculator">100/2</gadget>
<output>50</output>
50.
So there will be $50/$10 = 
<gadget id="calculator">50/10</gadget>
<output>5</output>
5 pieces of $10 when $50 is changed to $10 bills.
The remaining $50 will be changed to $5 bills so there will be $50/$5 = 
<gadget id="calculator">50/5</gadget>
<output>10</output>
10 pieces of $5 bills.
So in total, Lorie will have 2 $50 bills + 5 $10 bills + 10 $5 bills = 
<gadget id="calculator">2+5+10</gadget>
<output>17</output>
17 pieces of bills.

<result>17</result>