Heramb Patil's submission of Magical Strings | CodeChef