Solution for p27.