Solve problem 48