Problem 1, completed