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: 9494 aggiunta 6595 aggiunta 5694 aggiunta 676 sottrazione 2944 aggiunta 3199 sottrazione 6621 aggiunta 2014
Output:
18107