 
 <prompt> Lorie ni 2 awọn iranlọwọ $100. O gbọdọ fọwọsi ọkan iranlọwọ ti awọn $100 lati awọn $50. Hẹẹrọ ti ojuse $100 bill yoo ti fọwọsi lati awọn $10 bills pelu awọn yẹn fọwọsi lati awọn $5 bills. Níbi ti o ba ni awọn iranlọwọ ti o yẹ, o yoo ni awọn iranlọwọ? <response>: There will be $100/$50 = 2 pieces of $50 when $100 is changed to $50 bills.
Half of $100 is $100/2 = $50.
So there will be $50/$10 = 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 = 10 pieces of $5 bills.
So in total, Lorie will have 2 $50 bills + 5 $10 bills + 10 $5 bills = 17 pieces of bills.

Answer is 17. 