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