solve PE9-16