Solved the seventh problem.