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: 9291 sottrazione 8442 aggiunta 5699 aggiunta 5191 sottrazione 3676 aggiunta 7595 aggiunta 5169 aggiunta 7681 sottrazione 9804
Output:
18704