Ninth and tenth problem solved.