Problem 1 is completed