aman agarwal's submission of Different Neighbours | CodeChef