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'.

Example Input: 9301 aggiunta 6607 aggiunta 4322
Example Output: 20230

Example Input: 1215 aggiunta 4628 aggiunta 2825
Example Output: 8668

Example Input: 2861 aggiunta 4154 aggiunta 2040 sottrazione 4994
Example Output:
4061