Instructions: 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'.
Input: 2147 aggiunta 2487 sottrazione 2461 sottrazione 7312 aggiunta 6600 aggiunta 4423 aggiunta 8979 sottrazione 1638 sottrazione 7845
Output:
5380