Monica asked her friends to buy a charity raffle ticket for $3. All but 4 of her friends bought a ticket, and she raised $18. How many friends did Monica ask?