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: 9508 aggiunta 3321 aggiunta 7841 aggiunta 4164
Output:
24834