Hackerrank playing with characters solution

join shbcf.ru