Solution for p011