problem 14: solved