Yash Kulkarni's submission of Chain Reaction | CodeChef