One third of the students in the marching band signed up for the pep band. Then five students changed their mind. If there are 31 students in the pep band, how many students are in the marching band?