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: 1789 aggiunta 1074 sottrazione 6373 sottrazione 1390 aggiunta 7037

Output: 2137


Input: Consider Input: 1502 aggiunta 904 aggiunta 5078 sottrazione 787 sottrazione 2178


Output: 4519