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]: 6814 aggiunta 4958 aggiunta 2173
[A]: 13945


[Q]: 4883 sottrazione 400 aggiunta 996
[A]:
5479