Ankit Kumar's submission of Chain Reaction | CodeChef