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: 4607 aggiunta 889 aggiunta 1150 sottrazione 7233 sottrazione 6053

Output: -6640


Input: Consider Input: 5482 sottrazione 9124 aggiunta 2207 aggiunta 4779 sottrazione 1942

Output: 1402


Input: Consider Input: 1259 sottrazione 9564 aggiunta 8805


Output: 500