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: 3055 sottrazione 6506 aggiunta 7787
Example Output: 4336

Example Input: 6043 aggiunta 2492 aggiunta 3435
Example Output: 11970

Example Input: 2850 aggiunta 9660 sottrazione 8692 aggiunta 226
Example Output:
4044