Without Text
题目描述
![](https://cdn.luogu.com.cn/upload/vjudge_pic/CF656C/5e16491e0a464f6c70215f2cb6ed8a2f5e114be5.png)You can preview the image in better quality by the link: <http://assets.codeforces.com/files/656/without-text.png>
输入输出格式
输入格式
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 the required answer.
输入输出样例
输入样例 #1
Codeforces
输出样例 #1
-87
输入样例 #2
APRIL.1st
输出样例 #2
17