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: 5482 sottrazione 9124 aggiunta 2207 aggiunta 4779 sottrazione 1942
Example Output: 1402

Example Input: 7205 sottrazione 5394 aggiunta 6604 sottrazione 4101 aggiunta 4291
Example Output: 8605

Example Input: 5620 aggiunta 3296 sottrazione 7157
Example Output:
1759