Problem 2 solved

sum