problem 16 solved