2391 - I2P(I)2021_Yang_lab1 Scoreboard

Time

2021/10/05 18:30:00 2021/10/05 20:30:00

Clarification

# Problem Asker Description Reply Replier Reply Time For all team

# Problem Pass Rate (passed user / total user)
12886 Thousands Separator Lite
11581 Push Push

12886 - Thousands Separator Lite   

Description

To represent a decimal number clearly and formally, one must insert commas (,) for the thousands separators.
For example, the number "123456789" should be represented as "123,456,789". 
Now you have 2 such numbers in the standard format, and you want to calculate the summation of them.
 
Hint: For「123,456」, you can use 「scanf ("%d,%d", &a, &b)」to read in the input, and then a and b will be set as 123 and 456, respectively.

Input

There are 2 lines in each case, and each line contains a number T in the standard format, where 1,000,000  T ≤ 499,999,999.

Output

For each case, you should output one line that exactly contains the summation of the 2 numbers, which is a integer without any commas.

Note that there is a newline character at the end of the output.

Sample Input  Download

Sample Output  Download

Tags




Discuss




11581 - Push Push   

Description

There are 2 positive integers A and B.

B is the number of pushing all digits of A right by 1 digit.

e.g. A = 5678, B = 8567

Please calculate the sum of A and B

 

Input

A is a 4-digit number

Output

A + B

Sample Input  Download

Sample Output  Download

Tags




Discuss