11113 - Thousands Separator Lite
|
Time |
Memory |
| Case 1 |
1 sec |
32 MB |
| Case 2 |
1 sec |
32 MB |
| Case 3 |
1 sec |
32 MB |
| Case 4 |
1 sec |
32 MB |
Description
To represent a decimal number clearly and formally, one must insert commas (,) for the thousands separators, and a period (.) to separate the integer part from the fractional part.
For example, the number "123456789.012" should be represented as "123,456,789.012".
Now you have 2 such numbers in the standard format, and you want to calculate the summation of them.
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 and NO fractional part.
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.
Tags