Added working solution for p2a