Divan and a Cottage

Problem Name:
Divan and a Cottage
Site:CodeForces
Links:
Tags:
Problem setters: