rahul's submission of Chain Reaction | CodeChef