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'.

Example Input: 5208 aggiunta 6800 aggiunta 6471
Example Output: 18479

Example Input: 6543 sottrazione 4109 aggiunta 992 aggiunta 3780 sottrazione 7300 sottrazione 8204
Example Output: -8298

Example Input: 8244 aggiunta 1814 aggiunta 3257 aggiunta 2859
Example Output:
16174