Tiancheng Lou's submission of Different Neighbours | CodeChef