401916: GYM100574 C Valentine's Wedding

Memory Limit:64 MB Time Limit:1 S
Judge Style:Text Compare Creator:
Submit:0 Solved:0

Description

C. Valentine's Weddingtime limit per test1 secondmemory limit per test64 megabytesinputstandard inputoutputstandard output

Pashmak and Parmida are getting married this valentine. Pashmak has invited a guests to the wedding and Parmida has invited b guests. Unfortunately, they are making out and have no time to calculate the number of guests.

Your task is to calculate the number of guests (a + b) with language Cursle.

Your program's order mustn't exceed 107 .

Input

A single string, Ba + bE (B and E are just B and E characters) .

1 ≤ a, b ≤ 101000 (Of course Pashmak and Parmida don't come from earth)

Output

A single integers, c where c = a + b (without characters B and E) .

ExamplesInput
B10+3E
Output
13
Input
B4+6E
Output
10

加入题单

算法标签: