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: 6864 aggiunta 8279 aggiunta 2054 aggiunta 2127 sottrazione 2989 sottrazione 3799

Output: 12536


Input: Consider Input: 7136 aggiunta 6261 aggiunta 1255 sottrazione 5994


Output: 8658