Each course at Pease County Community College is worth either 3 or 4 credits. The members of the womans golf team are taking a total of 27 courses that are worth a total of 89 credits. How many 3-credit courses are being taken?