solving P32