99HP: problem 31