SongChol Ryu's submission of Magical Strings | CodeChef