solved problem 14.
solved problem 16.