general admission tickets to the fair cost $3 per person ride passes cost an additional $5 per person parking tickets cost 7 dolars for the whole family the total was 47 dolars how many people attended the fair?