Schwarcz Tamás's submission of Different Neighbours | CodeChef