Character Sum

Input Ouput