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: 8495 aggiunta 7149 sottrazione 7280 aggiunta 343

Answer: 8707


Question: 5586 aggiunta 826 aggiunta 2560

Answer: 8972


Question: 4877 sottrazione 6817 aggiunta 6329 aggiunta 3149 sottrazione 326

Answer:
7212