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: 4318 sottrazione 2885 sottrazione 8902 sottrazione 1607 sottrazione 3568 sottrazione 5787

Output: -18431


Input: Consider Input: 4330 aggiunta 350 aggiunta 2584

Output: 7264


Input: Consider Input: 8695 sottrazione 7276 aggiunta 1410


Output: 2829