The students at Midtown Elementary are voting between a tiger or an eagle for their new school mascot. There were 312 votes for the tiger. There were 96 fewer votes for the eagle than for the tiger. How many votes were there in all?