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: 9736 sottrazione 1029 sottrazione 2370

Output: 6337


Input: Consider Input: 3152 sottrazione 6516 aggiunta 9326 aggiunta 2098 aggiunta 2399

Output: 10459


Input: Consider Input: 3640 aggiunta 5649 sottrazione 4544


Output: 4745