Solve p157