The value of a string ss is equal to the number of different letters which appear in this string.
Your task is to calculate the total value of all the palindrome substring.
输入描述:
The input consists of a single string
)
The string

only contains lowercase letters.
输出描述:
Output an integer that denotes the answer.