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]: 8324 aggiunta 8333 aggiunta 4114
[A]: 20771


[Q]: 5754 aggiunta 4597 sottrazione 4661
[A]: 5690


[Q]: 9276 sottrazione 496 sottrazione 3 sottrazione 4165
[A]:
4612