problem 46 solved