problem 7C finished