Mario buys tickets to a play for a group. There are 2 adults and 4 children in the group. Adults’ tickets cost $8 each. Children’s tickets cost $5 each. How much does he pay for all the tickets?