Solved problems 17 and 19.