D - The one with the New House

Problem Name:
D - The one with the New House
Site:HackerEarth
Links:
Tags:
Problem setters: