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: 1720 aggiunta 7059 sottrazione 9563 aggiunta 7081 aggiunta 2946

Output: 9243


Input: Consider Input: 4906 aggiunta 1713 sottrazione 7133

Output: -514


Input: Consider Input: 8491 sottrazione 1668 aggiunta 9922 aggiunta 3070 aggiunta 9803


Output: 29618