题目描述
You can preview the image in better quality by the link: http://assets.codeforces.com/files/656/without-text.png
Input
The only line of the input is a string (between 1 and 50 characters long, inclusive). Each character will be an alphanumeric character or a full stop ".".
Output
Output the required answer.
输入格式
见题面 Input 部分
输出格式
见题面 Output 部分
样例输入
Codeforces
样例输出
-87