solve P49