A lawyer has found 60 investors for a limited partnership to purchase an inner-city apartment building, with each contributing either $6,000 or $12,000. If the partnership raised $486,000, then how many investors contributed $6,000 and how many contributed $12,000?