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: 6521 aggiunta 9769 aggiunta 7786 sottrazione 9735 sottrazione 8126
Example Output: 6215

Example Input: 6677 sottrazione 5169 sottrazione 1541 aggiunta 330
Example Output: 297

Example Input: 9268 aggiunta 3651 aggiunta 8986
Example Output:
21905