Shilp Gupta's submission of Magic Strings | CodeChef