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: 4330 aggiunta 350 aggiunta 2584
Example Output: 7264

Example Input: 1614 aggiunta 8022 aggiunta 2830 aggiunta 4516
Example Output: 16982

Example Input: 7815 sottrazione 3160 aggiunta 1625 sottrazione 4912
Example Output:
1368