solve P14