99HP: problem 47