hackerrank special string again problem solution in python

join shbcf.ru