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]: 2172 aggiunta 1784 aggiunta 7939
[A]: 11895


[Q]: 1805 aggiunta 6175 sottrazione 1761 aggiunta 6444
[A]: 12663


[Q]: 5798 sottrazione 2223 sottrazione 4817
[A]:
-1242