Problem 1 done.