Nikolay Domashenko's submission of Processing a string | CodeChef