#PCBTAM0000015. Tổng mã của hai ký tự (Sum of Two Code Points)
Tổng mã của hai ký tự (Sum of Two Code Points)
Sum of Two Code Points
Version: Phuoc Hung OJ Extended
Problem Statement
Given two Unicode characters and , each with an integer Unicode code point, calculate the sum of their code points.
The digit character 0 has code point , not numeric value .
Input
The first line contains exactly one character and the second contains exactly one character .
Output
Print one decimal integer equal to the sum of the two Unicode code points.
Subtasks
- Subtask 1 (100 points): are valid displayable Unicode characters in the test set, including printable ASCII and the supplied Vietnamese characters.
Examples
Example 1
Input
A
B
Output
131
Explanation. A and B have code points and ; their sum is .
Example 2
Input
0
1
Output
97
Explanation. Digit characters 0 and 1 have code points and , giving .
Example 3
Input
Đ
A
Output
337
Explanation. Đ has code point and A has ; the sum is .