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: 2977 sottrazione 6818 sottrazione 8614 sottrazione 3025 aggiunta 6267

Output: -9213


Input: Consider Input: 5844 sottrazione 7386 aggiunta 5114

Output: 3572


Input: Consider Input: 6218 aggiunta 3147 aggiunta 8899


Output: 18264