hackerrank special string again problem

visit shbcf.ru