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: 4906 aggiunta 1713 sottrazione 7133

Output: -514


Input: Consider Input: 2901 sottrazione 1879 sottrazione 5308

Output: -4286


Input: Consider Input: 4003 aggiunta 5985 aggiunta 9003 sottrazione 7328 aggiunta 3420 aggiunta 3822


Output: 18905