problem 18 solved