Jeffrey Jiang's submission of Playing with Strings | CodeChef