Definition: 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'.
Input: 9976 sottrazione 3822 sottrazione 4798 sottrazione 5139 sottrazione 2960 aggiunta 652 aggiunta 6902 aggiunta 2034
Output:
2845