Consider 2 complement sets. So if the no of students not playing hockey =x. number of students not playing cricket = x+24
Students playing both =y. Students playing neither = y-16
x+ (x+24) -(y-16)+y=200
2x+40=200
x=80
x+24=104
Those who play hockey 200-80=120