solved p02 of P99