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: 5044 aggiunta 1506 aggiunta 1163 sottrazione 9608 sottrazione 3873 sottrazione 8909 sottrazione 5572

Output: -20249


Input: Consider Input: 3683 aggiunta 9168 sottrazione 9765

Output: 3086


Input: Consider Input: 2034 aggiunta 5699 sottrazione 9157


Output: -1424