Solution for p018