solved problem10