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: 9736 sottrazione 1029 sottrazione 2370
Example Output: 6337

Example Input: 5299 aggiunta 4046 sottrazione 6302
Example Output: 3043

Example Input: 6677 sottrazione 5169 sottrazione 1541 aggiunta 330
Example Output:
297