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: 7106 aggiunta 2213 aggiunta 2771 aggiunta 9688 aggiunta 6585

Output: 28363


Input: Consider Input: 7200 aggiunta 352 sottrazione 6034 sottrazione 1178 sottrazione 898

Output: -558


Input: Consider Input: 4670 aggiunta 8249 sottrazione 5552


Output: 7367