The school theater department made $2142 and the department sold the same number of tickets each night and each ticket cost $7. How many tickets did the theater department sell each night?