a teacher had 23 pupils to her class. all but 7 of them went on an excursion trip and thus were away for the day. how many students remains in the class that day.