Solve p140