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: 10 sottrazione 7
Example output: 3
Example explanation: Here, 'sottrazione' represents the subtraction operation. So, the answer is 3 (10-7=3).
Q: 9667 aggiunta 5957 aggiunta 1533 aggiunta 8741 sottrazione 7319 aggiunta 8688 aggiunta 6652 sottrazione 1330 sottrazione 2260
A:
30329