Solve p197