ec problem 1 solved