solve P22