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 .
InputA 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)
OutputA single integers, c where c = a + b (without characters B and E) .
ExamplesInputB10+3EOutput
13Input
B4+6EOutput
10