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: 9171 aggiunta 4946 aggiunta 4489 sottrazione 6499 aggiunta 9704
Example Output: 21811

Example Input: 3683 aggiunta 9168 sottrazione 9765
Example Output: 3086

Example Input: 1013 sottrazione 8148 sottrazione 2218 aggiunta 6583
Example Output:
-2770