Problem9 solved.