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: 5844 sottrazione 7386 aggiunta 5114

Answer: 3572


Question: 9641 aggiunta 7092 aggiunta 7828 aggiunta 9900 sottrazione 4633

Answer: 29828


Question: 8876 aggiunta 6369 sottrazione 9676

Answer:
5569