Problem 10 done