#K33472. Calculate String Strength

    ID: 25095 Type: Default 1000ms 256MiB

Calculate String Strength

Calculate String Strength

Given a string that consists only of lowercase alphabetic characters, your task is to compute its strength. The strength of the string is defined as the sum of the positions in the alphabet for each character. In other words, for each character c in the string, its value is given by the formula:

\(\text{value}(c) = c - 'a' + 1\)

For example, the letter 'a' has a value of 1, 'b' has a value of 2, and so on up to 'z' with a value of 26. The overall strength of the string is the sum of these values.

Your program should read from standard input (stdin) and print the result to standard output (stdout).

inputFormat

The input consists of a single line containing a string s composed only of lowercase letters. The length of the string can be from 0 up to a large number of characters.

outputFormat

Output a single integer which is the computed strength of the string.

## sample
0