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]: 2431 sottrazione 4910 aggiunta 3990
[A]: 1511


[Q]: 9187 sottrazione 5498 aggiunta 9547
[A]: 13236


[Q]: 4349 aggiunta 9938 aggiunta 5683 aggiunta 6531 aggiunta 735 aggiunta 8947
[A]:
36183