In this task you will be given an arithmetic operation in Italian and you have to find its answer. The operations 'addition' and 'subtraction' have been replaced with their italian translations i.e you need to perform addition when you see 'aggiunta' and subtraction in case of 'sottrazione'.

Ex Input:
2172 aggiunta 1784 aggiunta 7939

Ex Output:
11895


Ex Input:
5163 aggiunta 6275 sottrazione 17 aggiunta 1747 aggiunta 2413

Ex Output:
15581


Ex Input:
660 aggiunta 4578 aggiunta 1123 sottrazione 4137

Ex Output:

2224


