solve problem47