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'.
--------
Question: 5305 aggiunta 8554 aggiunta 659 aggiunta 8151 aggiunta 1642

Answer: 24311


Question: 6299 aggiunta 376 sottrazione 2069

Answer: 4606


Question: 7254 sottrazione 305 sottrazione 5210 aggiunta 5855 sottrazione 5476 aggiunta 6447

Answer:
8565