Problem 16
Solved problem 19