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: 7600 aggiunta 9027 sottrazione 240

Output: 16387


Input: Consider Input: 1614 aggiunta 8022 aggiunta 2830 aggiunta 4516

Output: 16982


Input: Consider Input: 9301 sottrazione 7832 sottrazione 6358 aggiunta 6384 aggiunta 2642 sottrazione 370


Output: 3767