Egor Suvorov's submission of Connecting Soldiers | CodeChef