Solution for P12
Solution for P14
Solution for P15.