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: 8482 sottrazione 7800 aggiunta 6067 sottrazione 8239 aggiunta 2885 aggiunta 5517 sottrazione 5790 aggiunta 2419
Output:
3541