Kushagra Bansal's submission of Magic Pocket | CodeChef