solve PE7