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'.

Q: 1840 aggiunta 9861 aggiunta 3076 sottrazione 4918 sottrazione 6831

A: 3028
****
Q: 7323 aggiunta 955 aggiunta 1027

A: 9305
****
Q: 7552 aggiunta 7777 aggiunta 5885

A:
21214
****