In a class of 40 students, everyone has either a pierced nose or a pierced ear. the professor asks everyone with a pierced nose to raise his or her hand. eight hands go up. then the professor asked everyone with a pierced ear to do likewise. this time there are 37 hands raised. how many students have piercings both on their ears and their noses?