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: 6405 aggiunta 1474 aggiunta 9218 sottrazione 9958 sottrazione 8871 sottrazione 1574
Example Output: -3306

Example Input: 7150 aggiunta 653 sottrazione 7332
Example Output: 471

Example Input: 6299 sottrazione 9700 aggiunta 8070
Example Output:
4669