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: 2850 aggiunta 9660 sottrazione 8692 aggiunta 226

Output: 4044


Input: Consider Input: 6963 aggiunta 6514 aggiunta 9567

Output: 23044


Input: Consider Input: 9752 aggiunta 2526 sottrazione 8868 sottrazione 8288 aggiunta 4775 aggiunta 1028 aggiunta 6861


Output: 7786