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]: 9187 sottrazione 5498 aggiunta 9547
[A]: 13236


[Q]: 7573 sottrazione 4949 aggiunta 2418 sottrazione 9122
[A]: -4080


[Q]: 9531 sottrazione 6740 sottrazione 7611 aggiunta 8697
[A]:
3877