An adult ticket for a magic show costs $18. A children's ticket for the magic show costs $12.

The number of adult tickets sold is 3 times the number of children's tickets sold. A total of $1980 is taken in for ticket sales.

How many of each type of ticket is sold?