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: 6814 aggiunta 4958 aggiunta 2173

A: 13945
****
Q: 3683 aggiunta 9168 sottrazione 9765

A: 3086
****
Q: 4492 sottrazione 5702 aggiunta 8350 aggiunta 948

A:
8088
****