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: 1589 aggiunta 8863 aggiunta 6102 sottrazione 3060 sottrazione 2922

Output: 10572


Input: Consider Input: 5567 sottrazione 1027 aggiunta 9467 aggiunta 3471

Output: 17478


Input: Consider Input: 4651 aggiunta 8511 sottrazione 8666


Output: 4496


