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:
157 sottrazione 9421 aggiunta 4925

Ex Output:
-4339


Ex Input:
6336 aggiunta 484 aggiunta 3098 sottrazione 429 aggiunta 7135 aggiunta 3482

Ex Output:
20106


Ex Input:
3284 sottrazione 4669 aggiunta 6571

Ex Output:

5186