cmd2do's submission of Magical Strings | CodeChef