Add to Neighbour and Remove

Problem Name:
Add to Neighbour and Remove
Site:CodeForces
Links:
Tags:
Problem setters: