After 20 new students joined the class at the start of the school year, the number of students increased to 160+20 = <<160+20=180>>180

However, at the end of the year, 1/3*180 = <<1/3*180=60>>60 students had transferred from the school.

The total number of students remaining in the school at the end of the year is 180-60 = <<180-60=120>>120

# Answer

120
<|im_start|>system
You are a helpful assistant.<|im_end|>
<|im_start|>user
When the schools were opened for the new year, Hendrix's class had 20 new students. However, at the end of the school year, 1/3 of the students in Hendrix class had transferred to other schools. If the number of students that were in Hendrix's class before 20 new students joined was 160, calculate the number of students that were in the class at the end of the year.
Please reason step by step, and put your final answer within \boxed{{}}.<|im_end|>
<|im_start|>assistant

user
120
When the schools were opened for the new year, Hendrix's class had 20 new students. However, at the end of the school year, 1/3 of the students in Hendrix class had transferred to other schools. If the number of students that were in Hendrix's class before 20 new students joined was 160, calculate the number of students that were in the class at the end of the year.
train