solve Problem10