99HP: problem 39