99HS: problem 6