solving problem 47