Solve p164