In a talent show of singing and comedy acts, singing acts are 5 min long and comedy acts are 3 min long. The show has 12 acts and lasts 50 min. How many singing acts and how many comedy acts are in the show?