solved p1a