Amy got a prepaid debit card with $20 on it. For her first purchase with the card, she bought some bulk ribbon at a craft store. The price of the ribbon was 19 cents per yard. If after that purchase there was $16.77 left on the card, how many yards of ribbon did Amy buy?