Solution for p81.