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: 3644 aggiunta 1000 sottrazione 8591 sottrazione 6867 aggiunta 6679
Example Output: -4135

Example Input: 2363 aggiunta 6410 aggiunta 2443
Example Output: 11216

Example Input: 6738 aggiunta 4701 aggiunta 8865 sottrazione 7709
Example Output:
12595