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: 7862 sottrazione 7858 sottrazione 3111
Example Output: -3107

Example Input: 5674 aggiunta 474 sottrazione 3179 aggiunta 2726 aggiunta 3356 aggiunta 4008
Example Output: 13059

Example Input: 2500 sottrazione 4412 aggiunta 1218
Example Output:
-694