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'.
--------
Question: 3404 aggiunta 6979 sottrazione 3080 aggiunta 9755

Answer: 17058


Question: 6963 aggiunta 6514 aggiunta 9567

Answer: 23044


Question: 4165 sottrazione 5755 aggiunta 4316 aggiunta 7369 aggiunta 7112 sottrazione 3289

Answer:
13918