1933: Summation of character sequences

内存限制:128 MB 时间限制:1.000 S
评测方式:文本比较 命题人:
提交:59 解决:44

题目描述

input a string,like 123ab , the results for the sake of 1-2 + 3-97 + 98 = 3 , i.e., a numeric character is converted to its digital value , letters are Converted to its Ascii code value.

输入

There are several cases in the input, and the first line of each case is an integer n, followed by n integers.

输出

Follow the sample output.

样例输入 复制

123ab
Ab12cF

样例输出 复制

Case 1:3
Case 2:-5