In fourth grade there were 10 students at the start of the year. During the year, 4 students were added, and 42 new students came to school. How many students were in fourth grade at the end?