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: 3819 sottrazione 7160 aggiunta 9231 sottrazione 3959 aggiunta 8502 sottrazione 8085

Output: 2348


Input: Consider Input: 2184 sottrazione 9076 aggiunta 4754

Output: -2138


Input: Consider Input: 1180 aggiunta 4631 sottrazione 9837 sottrazione 363


Output: -4389