Problem 16 finished