Nikolay Domashenko's submission of Chain Reaction | CodeChef