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]: 4307 aggiunta 9187 aggiunta 8156 sottrazione 3183
[A]: 18467


[Q]: 7072 aggiunta 9407 sottrazione 7372 sottrazione 9312
[A]: -205


[Q]: 8389 aggiunta 2744 aggiunta 662
[A]:
11795