A family buys airline tickets online. Each ticket costs $167. The family buys travel insurance with each ticket that costs $19 per ticket. The Web site charges a fee of $16 for the entire purchase. The family is charged a total of $1132. How many tickets did the family buy?