hackerrank special string again problem solution

join shbcf.ru