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'.

Input: Consider Input: 4325 sottrazione 6002 sottrazione 8712 aggiunta 6397

Output: -3992


Input: Consider Input: 9605 aggiunta 2084 sottrazione 5807 aggiunta 9836 sottrazione 4248 aggiunta 7241

Output: 18711


Input: Consider Input: 16 aggiunta 9084 sottrazione 2273


Output: 6827