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: 3800 sottrazione 7438 sottrazione 6867 aggiunta 2819 aggiunta 1075

Output: -6611


Input: Consider Input: 4730 sottrazione 5900 aggiunta 3475 sottrazione 3749

Output: -1444


Input: Consider Input: 904 sottrazione 5651 aggiunta 7233


Output: 2486