Solve FoxAndClassroom