David's submission of Different Neighbours | CodeChef