Question 23Alice has 40 coins of denominations 1 dollar and 2 dollars, worth 58 dollars altogether. How many 1-dollar coins does she have?