A family of 7 bought tickets to the circus. Each family member also bought a souvenir that cost $6. The total amount they spent was $147. How much did one ticket cost ?